calculate_proven_offences.Rd
Estimates the number of proven offences for each offence.
calculate_proven_offences(police_outcomes, all_convictions, summary_oocds, date)
police_outcomes | |
---|---|
all_convictions | |
summary_oocds | |
date | Date for year_ending columns, will select closest year_ending for each dataset. |
Returns estimated number of proven offences for each offence_group
.
calculate_proven_offences
proceeds
Filter datasets to correct year_ending
Merge frames
Summarise