Get Data
get_dataFetch numeric KPI values from Kolada for a specific indicator (kpiId), Swedish municipality or region (municipalityId), and year. Returns value rows broken down by gender: T=total, K=women (kvinnor), M=men (män); non-gendered KPIs return only T.municipalityId from list_municipalities. Returns values per gender ("T" total, "K" women, "M" men); non-gendered KPIs report only "T".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Four-digit year, e.g. 2022. | |
| kpiId | Yes | KPI id from search_kpi, e.g. "N15428". | |
| municipalityId | Yes | Municipality/region id from list_municipalities, e.g. "0180" (Stockholm). |