Datatypes › Brazil › Geographic identifiers
IBGE code of a Brazilian state (federative unit)
Código IBGE da unidade da federação
ID br_state_ibge_code
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).
The two-digit code IBGE gives each of the 27 federative units of Brazil: the first digit is the region (1 Norte, 2 Nordeste, 3 Sudeste, 4 Sul, 5 Centro-Oeste) and the second the state in it (11 Rondônia, 29 Bahia, 35 São Paulo, 43 Rio Grande do Sul, 53 Distrito Federal). It begins the municipality, district and census tract codes (br_municipality_code, br_municipality_code_6, br_census_tract_code). Tables give it as uf, cod_uf, coduf, CD_UF or UF_Cod, and spreadsheet exports as 35.0; the letter abbreviation (SP) is br_state_code.
- Parent datatype
- Unique identifier
id - Categories
- Geographic identifiers, Government related
- Countries
- Brazil
- Languages
- Portuguese
- Quality
- 90/100 · missing: mapping (Wikidata, Schema.org, ...)
- Metacrafter rules
- 1 rule (1 by field name, 0 by value)
brstateibgecodebynamefield, br/br_geo.yaml
- Supported by tools
- metacrafter
Regular expression
^(1[1-7]|2[1-9]|3[1-35]|4[1-3]|5[0-3])$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 35 | São Paulo |
| 31 | Minas Gerais |
| 53 | Distrito Federal |
| 34 invalid | not assigned (the Sudeste has 31, 32, 33 and 35) |
| SP invalid | the abbreviation (br_state_code) |
Translations
| Language | Name | Description |
|---|---|---|
| Portuguese | Código IBGE da unidade da federação | |
| Russian | Код штата Бразилии (IBGE) |
Sources
- doc: ibge.gov.br/explica/codigos-dos-municipios.php
- wikipedia: Unidades federativas do Brasil (pt.wikipedia.org)
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/br_state_ibge_code - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/BR/geo/br_state_ibge_code.yamlon GitHub