Skip to contents

Bundled datasets

Discover, load, and inspect the packaged Canadian public-data tables (OTIS carceral data, CIHI health tables, Chicago crime) that the rmorie analysis functions consume.

morie_data_catalog()
Catalog of the bundled datasets
morie_data_load()
Load a bundled dataset by slug
morie_data_path()
Path of a bundled table's shipped file
morie_data_dictionary()
Data dictionary for a bundled dataset
morie_data_checksums()
SHA256 checksums of bundled rmoriedata files
morie_data_verify()
Verify the bundled data store against its signed manifest
load_chicago_data()
Load Chicago crime or arrest data
clear_chicago_cache()
Clear the cache of full Chicago datasets
load_cihi_data_tables()
Catalogue of CIHI open data-table workbooks (with Wayback fallbacks)
fetch_cihi_table()
Download a CIHI data table (live, with Wayback fallback)
load_siu_reports()
Load the Ontario SIU director's-report corpus

Differential privacy

Calibrated-noise mechanisms (Laplace, Gaussian) for releasing privacy-preserving counts, histograms, and means at a stated epsilon.

morie_dp_laplace_count()
Differentially-private count via the Laplace mechanism
morie_dp_laplace_histogram()
Differentially-private histogram via the Laplace mechanism
morie_dp_gaussian_mean()
Differentially-private mean via the Gaussian mechanism with bounded inputs

Statistical disclosure control

Re-identification safeguards for microdata releases: k-anonymity and l-diversity checks plus small-cell suppression.

morie_k_anonymity_verify()
k-anonymity verification
morie_l_diversity_verify()
l-diversity verification
morie_cell_suppress()
Cell suppression with optional complementary suppression

Core utilities

Shared primitives used across the package.

morie_core_sha256() morie_core_mean()
Shared C-core helpers (rmorie ecosystem backend)
ask()
Ask the rmorie agent about the bundled datasets

Sample data objects

Small documented data frames bundled for examples and tests (lazy-loaded via data()).

arrest_sample
Chicago arrests sample
complaint_sample
Chicago reported-crime sample ("complaints")

International datasets

Non-Canadian tables in the bundled store, reached by slug through morie_data_load().

rmoriedata-victoria
Victorian crime statistics (Crime Statistics Agency Victoria)