---
id: "ar_indec_department_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "Argentine department code (INDEC)"
regexp: "^(?:(?:0[26]|1[048]|2[26]|3[048]|4[26]|5[048]|6[26]|7[048]|8[26]|9[04]))?\\d{3}$"
categories: ["geo", "government"]
country: ["AR"]
langs: ["es"]
quality: 90
url: "https://registry.apicrafter.io/datatype/ar_indec_department_code"
---

# Argentine department code (INDEC) (`ar_indec_department_code`)

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

Five-digit code of an Argentine department (a partido in Buenos Aires Province, a comuna in the City of Buenos Aires) in the INDEC geographic coding: the two-digit province code and three digits for the department, as in 06014 Adolfo Gonzales Chaves (Buenos Aires) and 30015 Concordia (Entre Ríos). Data of the Ministries of Production and Health and of the crime statistics drop the leading zero (6014, 2007), and older sources number the comunas of the City of Buenos Aires 02001 to 02015 where georef uses 02007 to 02105. Census radius lists and provincial tables give the three-digit department part alone in a column next to the province code (CODDEPTO 098 for Río Cuarto in Córdoba, DEPTO 7 without the zeros); the department parts are mostly multiples of seven.

- Parent datatype: [`id`](https://registry.apicrafter.io/datatype/id.md)
- Personal data (PII): no
- Categories: Geographic identifiers (geo), Government related (government)
- Countries: Argentina (AR)
- Languages: Spanish (es)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:(?:0[26]|1[048]|2[26]|3[048]|4[26]|5[048]|6[26]|7[048]|8[26]|9[04]))?\d{3}$
```

## Examples

- `06014` — Adolfo Gonzales Chaves, Buenos Aires
- `30015` — Concordia, Entre Ríos
- `02007` — Comuna 1, Ciudad Autónoma de Buenos Aires
- `58035` — Confluencia, Neuquén
- `098` — Río Cuarto, the department part alone in a Córdoba radius list (CODDEPTO)
- `6014` (invalid example) — leading zero dropped
- `03014` (invalid example) — no province has the code 03

## Metacrafter rules

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

- `arindecdepartmentpartbyname` (field, `ar_country/ar_census.yaml`)
- `arbahradepartmentpartbyname` (field, `ar_country/ar_geo.yaml`)
- `arindecdepartmentcodebyname` (field, `ar_country/ar_geo.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- es: Código de departamento (INDEC)

## Sources

- doc: <https://datosgobar.github.io/paquete-apertura-datos/guia-interoperables/>
- doc: <https://datos.gob.ar/dataset/servicio-de-normalizacion-de-direcciones-y-unidades-territoriales-de-argentina>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

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