Datatypes › Mexico › Geographic identifiers › mx_municipality
Mexican municipality code (INEGI)
Clave de municipio (INEGI)
ID mx_inegi_municipality_code
Pattern of mx_municipalityNot PIIidentifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Code of a Mexican municipality in the INEGI catalogue of states, municipalities and localities (AGEEML): the two-digit state key (cve_ent) and the three-digit municipality key (cve_mun), written together as five digits or the municipality key alone as three, as in 09015 for Cuauhtémoc in Mexico City.
- Pattern of
- Mexican municipality
mx_municipality - Categories
- Geographic identifiers, Government related
- Countries
- Mexico
- Languages
- Spanish
- Quality
- 90/100 · missing: mapping (Wikidata, Schema.org, ...)
- Metacrafter rules
- 1 rule (0 by field name, 1 by value)
mxinegimunicipalityvaluedata, mx/mx_geo.yaml
- Supported by tools
- metacrafter
Regular expression
^(?:\d{2})?\d{3}$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 09015 | Cuauhtémoc, Mexico City |
| 015 | The municipality key alone |
| 9015 invalid | Leading zero of the state dropped |
Translations
| Language | Name | Description |
|---|---|---|
| Spanish | Clave de municipio (INEGI) |
Sources
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/mx_inegi_municipality_code - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/MX/geo/mx_inegi_municipality_code.yamlon GitHub