Skip to contents

OTIS c06 – Individuals by age category x region

Usage

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

Arguments

offline

If TRUE (default), read the bundled synthetic fixture. If FALSE, hit Ontario CKAN (resource_id required).

resource_id

Optional CKAN resource id (required for live).

source

One of NULL (default, ships an empty 0-row frame with the documented schema when no real CKAN row is bundled), "real" (force the real CKAN sample bundled in inst/extdata/, error if absent), or "synth" (return a deterministic set.seed() synthetic for didactic examples).