Kommuner - Sweden
This dataset is part of the Geographical repository maintained by Opendatasoft. This dataset contains data for Kommuner (municipalities) in Sweden since 2021. The data source is GSD-Sverigekartor , produced by Lantmateriet . Available levels Län Kommuner Enhancements Add Swedish ISO 3166-3 code....
Trust score
How is this computed?Weighted across five axes. Tap a ring for what it measures.
Data schema (9 fields)
Click a field to see example values.
| Field | Type | Description |
|---|---|---|
| geo_point_2dGeo Point | geo_point_2d | — |
| geo_shapeShape | geo_shape | — |
| year | date | — |
| lan_codeLän code | text | — |
| lan_nameLän name | text | — |
| kom_codeKommun code | text | — |
| kom_nameKommun name | text | — |
| kom_area_codeISO 3166-3 Area code | text | — |
| kom_typeType | text | — |
Schema captured from opendatasoft 2 hours ago.
Query the data
Pick columns and a sort, then fetch a live preview straight from the source. Choose an API-filterable column (marked ▾) under “Where” to pick from its list of values.
Sample data (5 records)
Record 1year: 2022 · kom_code: ["1737"]
{
"year": "2022",
"kom_code": [
"1737"
],
"kom_name": [
"Torsby"
],
"kom_type": "Kommun",
"lan_code": [
"17"
],
"lan_name": [
"Värmlands län"
],
"geo_shape": "[large value omitted]",
"geo_point_2d": {
"lat": 60.53181949760697,
"lon": 12.872885620827677
},
"kom_area_code": "SWE"
}Record 2year: 2022 · kom_code: ["0192"]
{
"year": "2022",
"kom_code": [
"0192"
],
"kom_name": [
"Nynäshamn"
],
"kom_type": "Kommun",
"lan_code": [
"01"
],
"lan_name": [
"Stockholms län"
],
"geo_shape": "[large value omitted]",
"geo_point_2d": {
"lat": 58.7839840607746,
"lon": 17.96155905484695
},
"kom_area_code": "SWE"
}Record 3year: 2022 · kom_code: ["2280"]
{
"year": "2022",
"kom_code": [
"2280"
],
"kom_name": [
"Härnösand"
],
"kom_type": "Kommun",
"lan_code": [
"22"
],
"lan_name": [
"Västernorrlands län"
],
"geo_shape": "[large value omitted]",
"geo_point_2d": {
"lat": 62.65839343411604,
"lon": 17.901974442467495
},
"kom_area_code": "SWE"
}Record 4year: 2022 · kom_code: ["2262"]
{
"year": "2022",
"kom_code": [
"2262"
],
"kom_name": [
"Timrå"
],
"kom_type": "Kommun",
"lan_code": [
"22"
],
"lan_name": [
"Västernorrlands län"
],
"geo_shape": "[large value omitted]",
"geo_point_2d": {
"lat": 62.5540075962935,
"lon": 17.533061099258838
},
"kom_area_code": "SWE"
}Record 5year: 2022 · kom_code: ["1383"]
{
"year": "2022",
"kom_code": [
"1383"
],
"kom_name": [
"Varberg"
],
"kom_type": "Kommun",
"lan_code": [
"13"
],
"lan_name": [
"Hallands län"
],
"geo_shape": "[large value omitted]",
"geo_point_2d": {
"lat": 57.1579433008463,
"lon": 12.243643323264264
},
"kom_area_code": "SWE"
}Live sample captured at profiling time — values may have changed upstream.
Using the API
Configuration
- Base URL
- https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-sweden-kommun
Query examples
curl -s 'https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-sweden-kommun/records?limit=20' -H 'Accept: application/json'First 20 records of the dataset as JSON.
Uses the Opendatasoft Explore v2.1 syntax — supports select, where, group_by and order_by.
Rate limits
Dataset
Volume & freshness
License
No license declared upstream.
Source: opendatasoft
Machine-readable & source
Embed this badge in a README or wiki — it always shows the latest verification state and quality tier.