Statec Lu
v0.2.1STATEC (Institut national de la statistique et des études économiques du Grand-Duché de…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_dataflows
Browse or keyword-search STATEC (Luxembourg statistics) datasets, called "dataflows". Each result has an `id` (e.g. "DF_A1100", the dataflowRef you pass to get_data / dataflow_structure) and an English name plus a short description (publication date, periodicity, author, category). STATEC publishes hundreds of datasets, so pass `query` to filter unless you really want the whole catalog. Example: list_dataflows({ query: "population" }) or list_dataflows({ query: "unemployment" }).
| Parameter | Type | Description |
|---|---|---|
limit | number | Max results to return (default 50). |
query | string | Case-insensitive substring filter on dataset id, name, or description, e.g. "population", "inflation", "GDP", "wages". |
dataflow_structure
Get the structure (Data Structure Definition) of one STATEC dataset: its ordered dimensions and, for each, the valid codes. Use this BEFORE get_data to learn how to build the dot-separated SDMX `key`. The key has one position per dimension, in `dimension_order`; an empty position is a wildcard. Example: dataflow_structure({ dataflow_id: "DF_A1100" }).
| Parameter | Type | Description |
|---|---|---|
dataflow_id * | string | STATEC dataflow id from list_dataflows, e.g. "DF_A1100". |
get_data
Pull observations from a STATEC dataset. `key` is a dot-separated SDMX dimension filter, one position per dimension in the order given by dataflow_structure; leave a position empty to wildcard it. Fetch dataflow_structure first to know the dimension order and valid codes. Example: get_data({ dataflow_id: "DF_A1100", key: "Valeur..A", start_period: "2010", end_period: "2020" }) picks VARIABLE=Valeur, wildcards SPECIFICATION, FREQ=A (annual). Omit `key` (or pass "") to fetch all series — caution, this can be large. Returns decoded series with their dimension labels and per-period values.
| Parameter | Type | Description |
|---|---|---|
dataflow_id * | string | STATEC dataflow id, e.g. "DF_A1100". |
end_period | string | End period, e.g. "2020". |
key | string | Dot-separated dimension filter (one position per dimension, empty = wildcard), e.g. "Valeur..A". Omit for all series. |
last_n | number | Return only the last N observations per series. |
max_series | number | Cap the number of decoded series returned (default 200). |
start_period | string | Start period, e.g. "2010", "2010-01", "2010-Q1". |