Datatypes › Spain › Geographic identifiers
Spanish autonomous community code (INE)
ID es_ccaa_code
DatatypeNot PIIcategoricalDraft
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).
Two-digit code of an autonomous community or autonomous city of Spain in the list of the National Statistics Institute (INE), from 01 for Andalucía to 17 for La Rioja, 18 for Ceuta and 19 for Melilla; 13 is the Comunidad de Madrid and 10 the Comunitat Valenciana. Statistical and administrative tables give it in columns named cod_comunidad, codigo_de_ca, cod_ccaa or cod_autonomia, often without the leading zero.
- Categories
- Geographic identifiers
- Countries
- Spain
- Languages
- Common to most languages
- Quality
- 90/100 · missing: mapping (Wikidata, Schema.org, ...)
- Metacrafter rules
- 1 rule (1 by field name, 0 by value)
esccaacodebynamefield, es/es_codes.yaml
- Supported by tools
- metacrafter
Regular expression
^(?:0[1-9]|1[0-9])$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 13 | Madrid, Comunidad de |
| 07 | Castilla y León |
| 19 | Melilla |
| 20 invalid |
Translations
| Language | Name | Description |
|---|---|---|
| Spanish | Código de comunidad autónoma (INE) | |
| Russian | Код автономного сообщества Испании (INE) |
Sources
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/es_ccaa_code - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/ES/geo/es_ccaa_code.yamlon GitHub