Skip to contents

Phase 3EEE1. Generic loader that hits CKAN's datastore_search endpoint for a given resource_id. Useful for any MTL package beyond the included SIM sample.

Usage

morie_datasets_montreal_ckan_resource(
  resource_id,
  limit = 100L,
  filters = NULL
)

Arguments

resource_id

CKAN resource UUID (from package_show).

limit

Page size (CKAN default 100, max varies by host).

filters

Optional named list of {column: value} filters.

Value

A data.frame of records.

Examples

# \donttest{
# Mobility-squad interventions (resource verified live 2026-07 via
# /api/3/action/datastore_search on donnees.montreal.ca):
df <- try(morie_datasets_montreal_ckan_resource(
  resource_id = "ff81ecc4-d3b0-4661-806f-a27870e63a4e",
  limit = 50))
# }