---
id: "ee_ehak"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["geo"]
country: ["EE"]
langs: ["et"]
quality: 75
url: "https://registry.apicrafter.io/datatype/ee_ehak"
---

# Estonian EHAK code (`ee_ehak`)

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

Four-digit code of an Estonian county, municipality or settlement in the classification of administrative units and settlements (Eesti haldus- ja asustusjaotuse klassifikaator, EHAK), with leading zeros.

- Parent datatype: `category`
- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: Estonia (EE)
- Languages: Estonian (et)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^\d{4}$
```

## Examples

- `0353` — Municipality
- `0037` — County
- `353` (invalid example) — Leading zero lost

## Metacrafter rules

1 rules: 0 match the field name, 1 match values.

- `eeehakvalue` (data, `ee/ee_geo.yaml`)

## Supported by tools

- `metacrafter`

## Translations

- et: EHAK kood

## Quality

Score 75/100. Missing: source link, mapping (Wikidata, Schema.org, ...).

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