---
id: "se_kommunkod"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["geo"]
country: ["SE"]
langs: ["common"]
quality: 80
url: "http://registry.apicrafter.io/datatype/se_kommunkod"
---

# Swedish municipality code (kommunkod) (`se_kommunkod`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Four-digit code of a Swedish municipality: two digits for the county and two for the municipality.

- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: Sweden (SE)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d\d\d\d$
```

## Examples

- `1083` — Sölvesborg Municipality
- `1480` — Gothenburg Municipality

## Mappings

- wikidata: `P525`

## Sources

- wikipedia: <https://sv.wikipedia.org/wiki/Kommunkod>
- wikidata: <https://www.wikidata.org/wiki/Property:P525>

## Quality

Score 80/100. Missing: negative example, translation, detector coverage.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/se_kommunkod.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/SE/geo/se_kommunkod.yaml>
