Estimates the number of proven offences for each offence.

calculate_proven_offences(police_outcomes, all_convictions, summary_oocds,
  date)

Arguments

police_outcomes
all_convictions
summary_oocds
date

Date for year_ending columns, will select closest year_ending for each dataset.

Value

Returns estimated number of proven offences for each offence_group.

Details

calculate_proven_offences proceeds

  1. Filter datasets to correct year_ending

  2. Merge frames

  3. Summarise