Skip to contents

Returns a small data.frame mirroring the column shape of the published corrections-UoF resource for the given short key. Schemas are derived from the bundled inst/extdata/corrections_uof_dictionary.json (parsed from datadictionary_correctionsribd_en_fr20250822.xlsx). Values are uniformly drawn from the dictionary "Data Values" examples or generic ranges; used only for offline-no-fixture fallback in tests and demos. NOT a substitute for the real upstream data published at https://data.ontario.ca/dataset/use-of-force-in-correctional-institutions.

Usage

morie_synth_corrections_uof(key, n = 30L, seed = 1L)

Arguments

key

Character; one of the 12 short names returned by morie_corrections_uof_resource_ids.

n

Integer; number of synthetic rows. Default 30.

seed

Integer; RNG seed. Default 1.

Value

A data.frame.

See also

morie_datasets_corrections_uof_incidents and the 11 sibling loaders.

Examples

df <- morie_synth_corrections_uof("incidents", n = 10)
nrow(df)
#> [1] 10