A statistic over time for one region
statistics_seriesOne SSB statistic for Norway, a county or a municipality over every year, in one call. Uses SSB's series summed to today's borders where the table has one, so the series does not stop at the 2020 or 2024 reforms. Accepts codes, old or current, and names. Find tables with statistics_search_tables.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"table_id": "<table_id>",
"region": "<region>"
},
"name": "statistics_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | Yes | '0' for Norway, a county or municipality code (old or current), or a name. | |
| filters | No | Codes for the table's other dimensions, e.g. {'Kjonn': ['2']}. Dimensions left out are summed where SSB allows it. | |
| measure | No | The ContentsCode value, when the table has more than one measure. | |
| to_year | No | ||
| table_id | Yes | SSB table, e.g. '07459'. | |
| from_year | No | ||
| measure_kind | No | When SSB has no series for today's borders: 'additive' (counts, totals) lets Kildeverk rebuild earlier years by summing the regions that became this one; 'non_additive' (rates, shares) follows renumberings only. Leave out to get the region's own series as published. |