Sdmx Codelist
sdmx_codelistFetch one codelist's code->label mapping by id, from any SDMX 2.1 registry, without needing a dataflow. Use this when you already know a codelist id (e.g. from sdmx_dataflow_structure's codelist field, or from a dataset's documentation) and just need the codes. Example: sdmx_codelist({ registry: "ilo", id: "CL_ECO" }) or sdmx_codelist({ registry: "eurostat", id: "GEO", filter: "France" }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Codelist id, e.g. "CL_ECO", "GEO", "CL_FREQ". | |
| limit | No | Max codes to return (default 100, max 1000). | |
| agency | No | Override the registry's default maintaining agency id for this codelist, e.g. "SDMX" for a shared CL_FREQ. Most callers can omit this. | |
| filter | No | Case-insensitive substring filter on code id or label, e.g. "france", "quarterly". | |
| version | No | Codelist version. Defaults to "latest". | |
| registry | Yes | Which SDMX registry to query: eurostat, oecd, ecb, unsd, imf, bis, ilo, abs. |