German municipality key (Amtlicher Gemeindeschlüssel, AGS)
ID de_ags
DatatypeNot PIIidentifier
Eight-digit official code of a German municipality that the statistical offices publish in the municipality directory (Gemeindeverzeichnis): two digits for the state (01 Schleswig-Holstein to 16 Thüringen), one for the government region, two for the district and three for the municipality. The first five digits are the district key (Kreisschlüssel).
- Categories
- Geographic identifiers
- Countries
- Germany
- Languages
- Common to most languages
- Wikidata
- P439
- Quality
- 90/100 · missing: detector coverage
- Metacrafter rules
- no detection rule yet
- Supported by tools
- no tool record lists this type yet
Regular expression
^(?:0[1-9]|1[0-6])\d{6}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 03459033 | Wallenhorst |
| 12060020 | Bernau bei Berlin |
| 3459033 invalid | Leading zero dropped |
| 17060020 invalid | There is no state 17 |
Translations
| Language | Name | Description |
|---|---|---|
| German | Amtlicher Gemeindeschlüssel (AGS) | |
| Russian | Официальный код общины Германии (AGS) | Восьмизначный код общины - две цифры земли, одна цифра административного округа, две цифры района и три цифры общины. |
Sources
- wikipedia: https://de.wikipedia.org/wiki/Amtlicher_Gemeindeschl%C3%BCssel
- wikidata: https://www.wikidata.org/wiki/Property:P439
- doc: https://www.destatis.de/DE/Themen/Laender-Regionen/Regionales/Gemeindeverzeichnis/_inhalt.html
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/de_ags - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/DE/geo/de_ags.yamlon GitHub