rebase_reoffences.Rd
This function uses the published reoffending statistics to apportion the number of reoffences by index offence group to the number of reoffences by reoffence group. This function is only necessary when you do not have the number of reoffences by reoffence group.
rebase_reoffences(user_data, target_date)
user_data |
|
---|---|
target_date | The date which you wish to rebase reoffences to. |
A tibble with number_reoffences
by reoffence_group
.
This function validates the input data, filters by the target_date
,
calls apportion_reoffences
, and assigns the target_date
as the year_ending
.