Skip to contents

Chains mrm_uof_weapon_diversity over Weapon x Location (the only two categorical columns the file publishes) plus a Weapon-only frequency table plus a data-quality audit.

Chains Weapon x Location chi-square + weapon frequency table + DQ audit. 2023 needs allow_invalid = TRUE.

Usage

morie_arsau_analyze_weapon_records(
  year,
  allow_invalid = FALSE,
  language = "en",
  data_dir = NULL
)

morie_arsau_analyze_weapon_records(
  year,
  allow_invalid = FALSE,
  language = "en",
  data_dir = NULL
)

Arguments

year

2023 or 2024.

allow_invalid

See morie_arsau_load_weapon_records.

language

"en" or "fr".

data_dir

Optional explicit ARSAU root.

Value

A list classed c("morie_arsau_result", "morie_rich_result", "list").

Details

The 2023 file is the ministry-flagged-invalid release and requires allow_invalid = TRUE.

References

Ontario Ministry of the Solicitor General, ARSAU 2023 and 2024 weapon_records technical notes – the 2023 release accompanies an explicit invalidity flag.