Get Data
get_dataPull observations from an ILOSTAT 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. ILO keys typically start with REF_AREA then FREQ; e.g. get_data({ dataflow_id: "DF_SDG_0852_SEX_AGE_RT", key: "USA.A...", start_period: "2015", end_period: "2024" }) selects the USA, annual frequency, and wildcards the remaining dimensions. Omit key (or pass "") to fetch all series — caution, this can be large. Returns decoded series with their dimension labels and per-period values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Dot-separated dimension filter (one position per dimension, empty = wildcard), e.g. "USA.A..." . Omit for all series. | |
| last_n | No | Return only the last N observations per series. | |
| end_period | No | End period, e.g. "2024". | |
| max_series | No | Cap the number of decoded series returned (default 200). | |
| dataflow_id | Yes | ILOSTAT dataflow id, e.g. "DF_SDG_0852_SEX_AGE_RT". | |
| start_period | No | Start period, e.g. "2015", "2015-01", "2015-Q1". |