Skip to contents

Walks morie_datasets_browse() (9242 datasets across all portals) and writes a single CSV with the columns the C++ rmorie binary's catalog parser expects: dataset_key, portal, title, description, url, license, formats.

Usage

morie_cli_dump_catalog(out_path = NULL)

Arguments

out_path

Where to write. Defaults to inst/extdata/_unified_catalog.csv inside the installed package (or the dev tree if running under devtools::load_all()).

Value

Invisibly, the path written.

Details

The CLI binary prefers this unified file when present; otherwise it falls back to scanning every inst/extdata/*_catalog.csv (which have heterogeneous per-portal schemas and don't parse cleanly).

Idempotent: regenerate after any change to the catalog registry.