
Inmate-participant ethnic origin
Source:R/corrections_uof.R
morie_datasets_corrections_uof_ethnic_origin.RdInmate-participant ethnic origin
Usage
morie_datasets_corrections_uof_ethnic_origin(
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_ethnic_origin()
head(df)
#> year inmate_ID force_used
#> 1 2023 ETH-60616223 Yes
#> 2 2023 ETH-23694361 Unknown
#> 3 2023 ETH-18013550 Unknown
#> 4 2023 ETH-74922443 Yes
#> 5 2023 ETH-81770259 Yes
#> 6 2023 ETH-67674265 Yes