---
id: "ar_caba_comuna"
kind: "datatype"
status: "draft"
is_pii: false
name: "Comuna of the City of Buenos Aires"
regexp: "^(?:[Cc]omuna|COMUNA) ?(?:0?[1-9]|1[0-5])$"
categories: ["geo", "government"]
country: ["AR"]
langs: ["es"]
quality: 90
url: "https://registry.apicrafter.io/datatype/ar_caba_comuna"
---

# Comuna of the City of Buenos Aires (`ar_caba_comuna`)

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

One of the 15 comunas of the Autonomous City of Buenos Aires, the units of its decentralised government (Law 1777 of 2005), each made of one to six barrios. City datasets give the comuna of an address, a school or a complaint as a number from 1 to 15, often after the word (Comuna 14, COMUNA 04) and in spreadsheets as 14.0; rows of totals say Total or Total Ciudad. INDEC counts the comunas as the departments of the city, so a departamento column of city data holds the same values. Chilean and Colombian comunas are other things: municipalities and urban districts.

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

## Detection

Regular expression (Python `re`):

```
^(?:[Cc]omuna|COMUNA) ?(?:0?[1-9]|1[0-5])$
```

## Examples

- `Comuna 14` — Palermo
- `COMUNA 04` — with a leading zero, as the city government's complaint data write it
- `Comuna 1`
- `Comuna 16` (invalid example) — there are 15 comunas

## Metacrafter rules

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

- `arcabacomunabyname` (field, `ar_country/ar_caba.yaml`)
- `arcabacomunavalue` (data, `ar_country/ar_caba.yaml`)

## Supported by tools

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

## Translations

- es: Comuna de la Ciudad de Buenos Aires

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Communes_of_Buenos_Aires>
- doc: <https://data.buenosaires.gob.ar/dataset/comunas>

## Quality

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

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