Skip to contents

Ontario Use-of-Force probe-cycle records (one row per CEW cartridge probe per individual-in-incident)

Usage

morie_datasets_arsau_uof_probe_cycle_records(
  year = "2024",
  offline = TRUE,
  resource_id = NULL
)

Arguments

year

Reporting year ("2023" or "2024").

offline

If TRUE (default), read the included fixture. If FALSE, hit the live CKAN endpoint via httr2.

resource_id

Optional CKAN resource id override.

Value

A data.frame.

Examples

df <- morie_datasets_arsau_uof_probe_cycle_records(offline = TRUE)
head(df)
#>               BatchFileName Indiv_Index
#> 1 SYNTHETIC-FIXTURE-PRB-001           1
#> 2 SYNTHETIC-FIXTURE-PRB-002           2
#> 3 SYNTHETIC-FIXTURE-PRB-003           3
#> 4 SYNTHETIC-FIXTURE-PRB-004           4
#> 5 SYNTHETIC-FIXTURE-PRB-005           5
#>   CEW_CartridgeProbe_CartridgeProbeCycles_Cyc
#> 1                                           1
#> 2                                           2
#> 3                                           1
#> 4                                           3
#> 5                                           1