get_data
Retrieve time-series values for a selected variable across territorial units, with optional year range and unit filters. Returns raw annual data with year, unit, and label.
Instructions
Get actual data (time series) for a variable in one or more territorial units. Example: GDP per capita for all voivodeships over 2015-2024. Returns the raw values with year, unit, and unit label.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year_to | No | Optional last year to include | |
| unit_ids | No | List of unit IDs (from search_units). Default: all voivodeships. | |
| year_from | No | Optional first year to include | |
| limit_units | No | Max units to include when unit_ids is empty | |
| variable_id | Yes | Variable ID from search_variables |