
Inmate-to-incidents bridging table
Source:R/corrections_uof.R
morie_datasets_corrections_uof_inmate_incident.RdInmate-to-incidents bridging table
Usage
morie_datasets_corrections_uof_inmate_incident(
offline = TRUE,
resource_id = NULL,
source = NULL
)Arguments
- offline
Logical;
TRUE(default) reads the included real CKAN sample atinst/extdata/corrections_uof_incidents_sample.csv.FALSEhits the live CKAN endpoint.- resource_id
Optional CKAN resource id override.
- source
One of
"auto","live","included","synthetic","empty"; takes precedence overofflinewhen supplied.
Value
A data.frame of the requested dataset (a 0-row typed frame when the data is unavailable offline).
Examples
df <- morie_datasets_corrections_uof_inmate_incident()
head(df)
#> year incident_ID inmate_ID
#> 1 2023 IN-9954032 UOF-235595877717
#> 2 2023 IN-4101720 UOF-235595877717
#> 3 2023 IN-5923577 UOF-235595877717
#> 4 2023 IN-2865047 UOF-235595877717
#> 5 2023 IN-8263625 UOF-235595877717
#> 6 2023 IN-1907971 UOF-550057325115