End-to-end analysis of the ARSAU main_records CSV for one year.
Source:R/arsau_analyze.R, R/mrm_arsau.R
morie_arsau_analyze_main_records.RdChains:
mrm_uof_force_concentrationoverPoliceServicemrm_uof_weapon_diversityoverIncidentType x PoliceServicemrm_uof_data_quality_auditagainst the published CKAN sidecar (when present)
Chains mrm_uof_force_concentration (PoliceService),
mrm_uof_weapon_diversity (IncidentType x PoliceService), and
mrm_uof_data_quality_audit (against the CKAN sidecar).
Usage
morie_arsau_analyze_main_records(year, language = "en", data_dir = NULL)
morie_arsau_analyze_main_records(year, language = "en", data_dir = NULL)Details
Region-locality is NOT meaningful for main_records – only the
OPP_PoliceService_Region column is published, and it pairs
one column with itself. See
morie_arsau_analyze_detailed_dataset for the
2020-2022 layout that exposes more region columns.