Calculates wider reoffences by assuming that reoffences / proven_offences is equal to the proportion of police recorded offending which is reoffending.

calculate_wider_reoffences proceeds

  1. Filters datasets to closest year_ending to date

  2. Merges proven offences, multipliers and police recorded crime

  3. Summarises by offence group

  4. Calculates wider offences

  5. Merges with reoffences

  6. Calculates reoffence ratio for each offence group

  7. Multiplies reoffence ratio by wider offences to get wider reoffences

calculate_wider_reoffences(reoffences, proven_offences,
  police_recorded_crime, multipliers, date)

Arguments

reoffences

Number of reoffences by reoffence group

proven_offences

Number of proven offences by police recorded crime offence

police_recorded_crime

A tidied, cleaned version of police_recorded_crime as expected from clean_police_recorded_crime(police_recorded_crime)

multipliers

Multipliers for each police recorded crime offence as would be produced by calculate_multipliers

date

Date for year_ending columns, will select closest year_ending.

offence_mapping

Defaults to standard mapping as included in package, otherwise allows for user to input custom mapping dataframe, see offence_mapping

Value

Returns estimated number of wider reoffences by reoffence group.