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

# Argentine settlement code of BAHRA (eleven digits) (`ar_bahra_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.

Code of a human settlement in BAHRA, the Base de Asentamientos Humanos de la República Argentina of INDEC and the national geographic institute, in its eleven-digit form: the two-digit province, the three-digit department and the three-digit census locality of INDEC (ar_indec_locality_code), then three digits for the settlement within the locality, 000 for the locality as a whole and 001 and up for the entities of a composite locality and for rural places. The Sistema de Información de Ciencia y Tecnología Argentino (SICYTAR) gives it as cod_bahra beside the INDEC codes of an institution's address (02000010000 for the City of Buenos Aires, 06441030015 for a part of the La Plata agglomeration). The georef API of datos.gob.ar writes the entity with two digits (1401401002).

- Parent datatype: [`ar_indec_locality_code`](https://registry.apicrafter.io/datatype/ar_indec_locality_code.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{9}$
```

## Examples

- `02000010000` — Ciudad Autónoma de Buenos Aires
- `14014010000` — Córdoba
- `06441030015` — an entity of the La Plata census locality
- `50007010001` — an entity of the Mendoza census locality
- `14014010` (invalid example) — the eight-digit census locality code: ar_indec_locality_code

## Metacrafter rules

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

- `arbahracodebyname` (field, `ar_country/ar_geo.yaml`)

## Supported by tools

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

## Translations

- es: Código de asentamiento BAHRA (once dígitos)

## Sources

- doc: <http://www.bahra.gob.ar/>
- doc: <https://datasets.datos.mincyt.gob.ar/dataset/instituciones-del-sistema-nacional-de-ciencia-y-tecnologia-argentino>

## Quality

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

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