scale_multipliers.Rd
Scales multipliers by the proportional difference between Crime Survey England & Wales and Police Recorded Crime levels at a particular date.
scale_multipliers(multipliers, police_recorded_crime, csew_crime, date)
multipliers | Multipliers for each police recorded crime offence as
would be produced by |
---|---|
police_recorded_crime | A tidied, cleaned version of
|
csew_crime | Official statistics for aggregate Crime Survey England
and Wales numbers, as included in package as |
date | Date for year_ending columns, will select closest year_ending. |
Returns multipliers for each police recorded crime offence scaled by the respective levels of prc & csew crime.
scale_multipliers
proceeds
Filter data to closest year_ending to date
Calculate scaling factor between Crime Survey levels in 2015/16 and chosen date
Calculate scaling factor for each offence group between PRC levels 2015/16 and chosen date
Combine scaling factors and multiply by multipliers