Datatypes › Brazil › Geographic identifiers › br_municipality
Brazilian municipality code (IBGE)
ID br_municipality_code
Pattern of br_municipalityNot PIIcategoricalDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Seven-digit code of a Brazilian municipality assigned by IBGE, the Brazilian Institute of Geography and Statistics. The first two digits are the code of the state, for example 35 for São Paulo, and the last digit is a check digit.
- Pattern of
- Brazilian municipality
br_municipality - Categories
- Geographic identifiers, Government related
- Countries
- Brazil
- Languages
- not specified
- FTA
STATE_PROVINCE.MUNICIPALITY_CODE_BR- Wikidata
- P1585
- Quality
- 100/100
- Metacrafter rules
- 1 rule (1 by field name, 0 by value)
brmunicipalitycodebynamefield, br/br_geo.yaml
- Supported by tools
- FTA (Fast Text Analysis), metacrafter
Regular expression
^[1-5]\d{6}$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 3550308 | São Paulo |
| 3304557 | Rio de Janeiro |
| 5300108 | Brasília |
| 355030 invalid | the six-digit form without the check digit (br_municipality_code_6) |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Код муниципалитета Бразилии (IBGE) |
Sources
- wikipedia: Municipalities of Brazil (en.wikipedia.org)
- wikidata: wikidata.org/wiki/Property:P1585
- other: github.com/tsegall/fta/blob/main/SemanticTypes.md
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/br_municipality_code - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/BR/geo/br_municipality_code.yamlon GitHub