Datatypes › Spain › Environment (protected areas, biodiversity, water, weather, emissions, waste)
Spanish air quality station national code
ID es_air_station_code
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).
National code of a station of the Spanish air quality monitoring networks, built from the INE code of the province (two digits), the INE code of the municipality (three digits) and the number of the station within the municipality (three digits), as in 28079008 for station 8 of Madrid. A code of a province below 10 is also written without its leading zero (4066003). The ministry for the ecological transition and the regional networks use it as the key of their measurement tables (COD_ESTACION, codigo_nacional). The European code of a station (ES1890A) is a different identifier.
- Parent datatype
- Unique identifier
id - Categories
- Environment (protected areas, biodiversity, water, weather, emissions, waste)
- 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)
esairstationcodebynamefield, es/es_codes.yaml
- Supported by tools
- metacrafter
Regular expression
^(?:0?[1-9]|[1-4]\d|5[0-2])\d{6}$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 4066003 | the example of the service sheet of the ministry (province 04, municipality 066, station 003) |
| 28079008 | a station in Madrid |
| 03009003 | a station in Alcoi in the tables of the Generalitat Valenciana |
| ES1890A invalid | the European code |
Translations
| Language | Name | Description |
|---|---|---|
| Spanish | Código nacional de estación de calidad del aire | |
| Russian | Национальный код станции контроля качества воздуха (Испания) |
Sources
- doc: web.archive.org/web/20240909091139/https://sig.mapama.gob.es/Docs/PDFServicios/CA_Estaciones.pdf
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/es_air_station_code - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/ES/environment/es_air_station_code.yamlon GitHub