Ontario Use-of-Force main records (one row per incident)
Source:R/datasets_ontario_tps.R
morie_datasets_arsau_uof_main_records.RdWraps the Ontario Police Use-of-Force Race-Based Data Strategy
resource. Offline mode reads a small bundled synthetic fixture
from inst/extdata/arsau_uof_main_records_sample.csv (5 rows in
the canonical 23-column subset of the 65-column upstream schema,
clearly stamped SYNTHETIC-FIXTURE-XXX). Live mode hits the
Ontario CKAN datastore-dump JSON endpoint for the requested
reporting year.
References
Ontario Open Data Catalogue, "Police Use of Force" (https://data.ontario.ca/dataset/police-use-of-force-race-based-data); Open Government Licence – Ontario.
Examples
df <- morie_datasets_arsau_uof_main_records(offline = TRUE)
head(df[, c("IncidentYear", "PoliceService", "IncidentType")])
#> IncidentYear PoliceService IncidentType
#> 1 2024 Sample Regional Police Service Weapon
#> 2 2024 Sample Regional Police Service Person
#> 3 2024 OPP Weapon
#> 4 2024 Sample Regional Police Service Animal
#> 5 2024 OPP Person