
Emit a unified catalog CSV for the rmorie-cli binary
Source:R/cli_unified_catalog.R
morie_cli_dump_catalog.RdWalks 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.
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.
Examples
out <- morie_cli_dump_catalog(out_path = tempfile(fileext = ".csv"))
file.exists(out)
#> [1] TRUE