---
id: "pt_ine_geocode"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["geo", "government"]
country: ["PT"]
langs: ["pt"]
quality: 73
url: "https://registry.apicrafter.io/datatype/pt_ine_geocode"
---

# Portuguese INE geographic code (`pt_ine_geocode`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Geographic code of Statistics Portugal (INE) in its data API: the three-character NUTS III code followed by the four-digit municipality code (DICO, district and municipality), as in 1D11108.

- Personal data (PII): no
- Categories: Geographic identifiers (geo), Government related (government)
- Countries: Portugal (PT)
- Languages: Portuguese (pt)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[1-3][A-D0-9]{2}\d{4}$
```

## Examples

- `1D11108` — Municipality in an INE indicator table
- `1108` (invalid example) — DICO alone

## Translations

- pt: Código geográfico do INE

## Sources

- doc: <https://www.ine.pt/>

## Quality

Score 73/100. Missing: second example, mapping (Wikidata, Schema.org, ...), detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/pt_ine_geocode.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/PT/geo/pt_ine_geocode.yaml>
