Skip to contents

Returns the consolidated registry of every Ontario Open Data feed morie ships an offline-mode fixture + mocked live-mode dispatch for. Pair with morie_datasets_ontario_ckan_by_key() for generic factory access by dataset_key.

Usage

morie_datasets_ontario_ckan_layers()

Value

A data.frame with columns dataset_key, label, resource_id, family, year, fixture.

Details

Coverage as of this release:

  • ARSAU UoF: 2 main + 2 individual + 2 probe_cycle + 1 weapon (2024)

    • 2 5-year aggregates (aggregate_summary + detailed_dataset).

  • OTIS: d01 Deaths-in-Custody.

  • d02-d07 OTIS deaths variants + OTIS a01/b/c families: known but resource_ids not yet wired in (PRs welcome).

Examples

reg <- morie_datasets_ontario_ckan_layers()
reg[, c("dataset_key", "family", "year")]
#>                                    dataset_key family      year
#> 1                  arsau_uof_main_records_2023  arsau      2023
#> 2                  arsau_uof_main_records_2024  arsau      2024
#> 3            arsau_uof_individual_records_2023  arsau      2023
#> 4            arsau_uof_individual_records_2024  arsau      2024
#> 5           arsau_uof_probe_cycle_records_2023  arsau      2023
#> 6           arsau_uof_probe_cycle_records_2024  arsau      2024
#> 7                arsau_uof_weapon_records_2024  arsau      2024
#> 8        arsau_uof_aggregate_summary_2020_2022  arsau 2020-2022
#> 9         arsau_uof_detailed_dataset_2020_2022  arsau 2020-2022
#> 10                  otis_d01_deaths_in_custody   otis       all
#> 11            otis_a01_restrictive_confinement   otis       all
#> 12                   otis_d02_deaths_by_gender   otis       all
#> 13                     otis_d03_deaths_by_race   otis       all
#> 14                 otis_d04_deaths_by_religion   otis       all
#> 15             otis_d05_deaths_by_age_category   otis       all
#> 16                     otis_d06_cause_by_alert   otis       all
#> 17             otis_d07_alerts_by_housing_unit   otis       all
#> 18               otis_b01_segregation_detailed   otis       all
#> 19             otis_b02_segregation_total_days   otis       all
#> 20          otis_b03_seg_alerts_by_institution   otis       all
#> 21          otis_b04_seg_consecutive_by_region   otis       all
#> 22            otis_b05_seg_consecutive_lengths   otis       all
#> 23          otis_b06_seg_reason_by_institution   otis       all
#> 24               otis_b07_seg_alerts_by_gender   otis       all
#> 25     otis_b08_seg_consecutive_by_institution   otis       all
#> 26                        otis_b09_seg_n_times   otis       all
#> 27                  otis_c01_individuals_total   otis       all
#> 28         otis_c02_individuals_by_institution   otis       all
#> 29         otis_c03_individuals_race_by_gender   otis       all
#> 30         otis_c04_individuals_race_by_region   otis       all
#> 31     otis_c05_individuals_religion_by_region   otis       all
#> 32          otis_c06_individuals_age_by_region   otis       all
#> 33                 otis_c07_individuals_alerts   otis       all
#> 34     otis_c08_individuals_religion_by_gender   otis       all
#> 35          otis_c09_individuals_age_by_gender   otis       all
#> 36 otis_c10_aggregate_durations_by_institution   otis       all
#> 37                  otis_c11_aggregate_lengths   otis       all
#> 38      otis_c12_aggregate_durations_by_region   otis       all