Datatypes › Portugal › Geographic identifiers
Portuguese DICOFRE code
ID pt_dicofre
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 an administrative unit of Portugal in the Carta Administrativa Oficial de Portugal (CAOP): two digits of the district or island (DI: 01 Aveiro to 18 Viseu, 31 and 32 Madeira, 41 to 49 the Azores), two of the municipality (CO) and two of the civil parish (FRE). The four-digit form (DICO, called DTMN in census files) names a municipality, as in 1703 for Chaves, and the six-digit form a parish, as in 170301. Municipal geoportals carry it in columns named DICOFRE, DTMN11 or COD_INE. The subsection code of the census (pt_bgri_code) starts with it.
- Categories
- Geographic identifiers, Government related
- Countries
- Portugal
- Languages
- Common to most languages
- Quality
- 90/100 · missing: mapping (Wikidata, Schema.org, ...)
- Metacrafter rules
- 1 rule (1 by field name, 0 by value)
ptdicofrebynamefield, pt/pt_codes.yaml
- Supported by tools
- metacrafter
Regular expression
^(?:0[1-9]|1[0-8]|3[12]|4[1-9])\d{2}(?:\d{2})?$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 170301 | a parish of Chaves, district of Vila Real |
| 010121 | a parish of Águeda, district of Aveiro |
| 1703 | Chaves, the four-digit municipality code |
| 190101 invalid | 19 is not a district |
Translations
| Language | Name | Description |
|---|---|---|
| Portuguese | Código DICOFRE | |
| Russian | Код DICOFRE (Португалия) |
Sources
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/pt_dicofre - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/PT/geo/pt_dicofre.yamlon GitHub