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 bundled 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

if (FALSE) { # \dontrun{
# Hypothetical SPVM station boundaries:
df <- morie_datasets_montreal_ckan_resource(
  resource_id = "abc-def-...",
  limit = 50)
} # }