---
id: "pl_teryt_terc"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["geo"]
country: ["PL"]
langs: ["common"]
quality: 80
url: "http://registry.apicrafter.io/datatype/pl_teryt_terc"
---

# Polish TERYT TERC code (`pl_teryt_terc`)

> **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.

Code of a Polish voivodeship, county or municipality in the TERC part of the TERYT register of Statistics Poland: two digits per level and, for municipalities, a digit for the municipality type.

- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: Poland (PL)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{2}(?:\d{2}(?:\d{3})?)?$
```

## Examples

- `1428` — Sochaczew County
- `2004` — Grajewo County
- `2262011` — Gdynia

## Mappings

- wikidata: `P1653`

## Sources

- wikipedia: <https://pl.wikipedia.org/wiki/TERYT>
- wikidata: <https://www.wikidata.org/wiki/Property:P1653>

## Quality

Score 80/100. Missing: negative example, translation, detector coverage.

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