Skip to contents

Inmate-participant Indigenous identity

Usage

morie_datasets_corrections_uof_indigenous(
  offline = TRUE,
  resource_id = NULL,
  source = NULL
)

Arguments

offline

Logical; TRUE (default) reads the included real CKAN sample at inst/extdata/corrections_uof_incidents_sample.csv. FALSE hits the live CKAN endpoint.

resource_id

Optional CKAN resource id override.

source

One of "auto", "live", "included", "synthetic", "empty"; takes precedence over offline when 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_indigenous()
head(df)
#>   year    inmate_ID force_used
#> 1 2023 IND-77062039        Yes
#> 2 2023 IND-93455691    Unknown
#> 3 2023 IND-45561599    Unknown
#> 4 2023 IND-49061202        Yes
#> 5 2023 IND-47727371        Yes
#> 6 2023 IND-76077280        Yes