Get Dataset
get_datasetFetch statistical data from a Eurostat dataset by dataset code. Optionally filter by country (geo) and time period. Example: get_dataset({ dataset_code: "nama_10_gdp", geo: "DE", time: "2023" }). Common dataset codes: "nama_10_gdp" (GDP), "prc_hicp_manr" (inflation), "une_rt_m" (unemployment). Codes are lowercase, underscore-separated and must come from search_datasets or list_datasets — a guessed or descriptive code is not a Eurostat code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geo | No | Country/region code filter, e.g. "DE" (Germany), "FR" (France), "EU27_2020" (EU aggregate) | |
| time | No | Time period filter, e.g. "2023", "2023-01" (Jan 2023), "2023-Q1" (Q1 2023) | |
| dataset_code | Yes | Eurostat dataset code from search_datasets or list_datasets, e.g. "nama_10_gdp", "prc_hicp_manr", "une_rt_m". Lowercase with underscores — not a title or a category word. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Human-readable label for the dataset | |
| values | Yes | Data values indexed by dimension combination | |
| dataset | Yes | The dataset code requested | |
| updated | Yes | Last update timestamp of the dataset | |
| dimensions | Yes | Dataset dimensions with labels and category mappings | |
| value_count | Yes | Number of data values in the dataset |