Skip to contents

Ontario Use-of-Force aggregate summary (5-year 2020-2022, pre-RBDS rollup)

Usage

morie_datasets_arsau_aggregate_summary(offline = TRUE, resource_id = NULL)

Arguments

offline

If TRUE (default), read the included synthetic fixture. If FALSE, hit Ontario CKAN.

resource_id

Optional override.

Value

A data.frame.

Examples

df <- morie_datasets_arsau_aggregate_summary(offline = TRUE)
head(df)
#>     SECTION         CATEGORY UNITS OF MEASURE YEAR_2020 YEAR_2021 YEAR_2022
#> 1 SYNTHETIC synth_category_1            count       100       110       120
#> 2 SYNTHETIC synth_category_2            count       200       220       240
#> 3 SYNTHETIC synth_category_3            count       300       330       360
#> 4 SYNTHETIC synth_category_4            count       400       440       480
#> 5 SYNTHETIC synth_category_5            count       500       550       600