All Projects → datasets-br → state-codes

datasets-br / state-codes

Licence: other
Brazilian states 2-letter codes (ISO 3166-2:BR), official abbreviations throughout the country's history

Programming Languages

PHP
23972 projects - #3 most used programming language
PLpgSQL
1095 projects

Projects that are alternatives of or similar to state-codes

php-states
Library to provides Brazilian States as Value Objects in PHP
Stars: ✭ 22 (-4.35%)
Mutual labels:  brazil, states
blog.brasil.io
Blog do Brasil.IO
Stars: ✭ 24 (+4.35%)
Mutual labels:  brazil
remote-jobs-client
Agregador de vagas de trabalho remoto para área de T.I e afins...
Stars: ✭ 68 (+195.65%)
Mutual labels:  brazil
nfe
Bibliotecas para geração, validação, assinatura e transmissão de XMLs da NFe em Go
Stars: ✭ 20 (-13.04%)
Mutual labels:  brazil
city-codes
Brazilian city names and official codes, IBGE, LexML and others
Stars: ✭ 39 (+69.57%)
Mutual labels:  brazil
kstatemachine
KStateMachine is a Kotlin DSL library for creating finite state machines (FSM) and hierarchical state machines (HSM).
Stars: ✭ 63 (+173.91%)
Mutual labels:  states
ibge
🌎 Data collection of geographical divisions of Brazil by IBGE (https://servicodados.ibge.gov.br/api/docs)
Stars: ✭ 28 (+21.74%)
Mutual labels:  brazil
politicos
API com todos os candidatos Brasileiros!
Stars: ✭ 63 (+173.91%)
Mutual labels:  brazil
genderBR
Predict gender from Brazilian first names
Stars: ✭ 50 (+117.39%)
Mutual labels:  brazil
transparencia-dados-abertos-brasil
A survey of Brazilian states' and municipalities' transparency and open data portals, as well as institutional websites, obtained from several public data sources. 🇧🇷 Levantamento de portais estaduais e municipais de transparência e dados abertos, bem como os portais institucionais, obtido a partir de diversas fontes públicas de dados.
Stars: ✭ 46 (+100%)
Mutual labels:  brazil
esaj
Scrapers for many e-SAJ systems
Stars: ✭ 35 (+52.17%)
Mutual labels:  brazil
fish-abbreviation-tips
💡 Help you remembering your abbreviations
Stars: ✭ 155 (+573.91%)
Mutual labels:  abbreviations
genero-nomes
Classifica nomes por gênero de acordo com API do IBGE
Stars: ✭ 33 (+43.48%)
Mutual labels:  brazil
AbbrevMan.nvim
🍍 A NeoVim plugin for managing vim abbreviations.
Stars: ✭ 82 (+256.52%)
Mutual labels:  abbreviations
municipios-br
Dados em formato aberto sobre municípios e unidades federativas do Brasil.
Stars: ✭ 58 (+152.17%)
Mutual labels:  brazil
world
A Laravel package which provides a list of the countries, states, cities, currencies, timezones and languages.
Stars: ✭ 479 (+1982.61%)
Mutual labels:  states
vagas
Vagas e empresas que ativamente contratam pessoas desenvolvedoras Clojure no Brasil
Stars: ✭ 75 (+226.09%)
Mutual labels:  brazil
rails-countries
Integration between Rails and countries gem.
Stars: ✭ 17 (-26.09%)
Mutual labels:  iso3166
covid19analysis
COVID-10 Analysis
Stars: ✭ 16 (-30.43%)
Mutual labels:  brazil
TraderBot
No description or website provided.
Stars: ✭ 39 (+69.57%)
Mutual labels:  brazil

  goodtables.io   Provided as a Tabular Data Package: view datapackage.
  PS: help us to view as core dataset at Brasil.io and Datahub.io.

state-codes

Comprehensive Brazilian state codes information, including ISO 3166-2:BR codes (the official 2-letter code abbreviations), IBGE state codes, and "timelines" of each state creation. Provided as a Simple Data Format Data Package.

Use the last release as the most reliable.

All standard state-codes are at br-state-codes.csv (described by datapackage.json), as "one stop" reliable sourse, and as curated reference to the digital preservation of datasets from Wikidata (semantic at data/dump_wikidata) and OpenStreetMap (spatial at data/dump_osm), as JSON dataset dumps.

Strictly, each code designates an federation unit ("Unidade da Federação" - UF), that can be a state as usual country-scale area segmentation, and can be also capital districts and territories.

The time-zone conventions are expressed in state-scale, so they are part of this dataset.

        

Regions

The official Brazilian regions are the state spatial containers, and at OSM represents "administrative boundaries level 3" (tag admin_level=3), while states are level 4.

Dumps and database

At dump_wikidata dump of Wikidata item of each state (e.g. MG.json) is preserved. At dump_osm dump of Openstreetmap GeoJSON map of each state (e.g. MG.geojson) is preserved. The database relationships for CSV files is illustrated in the UML class diagram below:

The external br-city-codes.csv is a complementar dataset represented in the full-database presented in the diagram. When necessary, same structure as br-city-synonyms.csv can be used for state and region sets of synonyms.

Collaboration

Please, before to submit pull requests for br-state-codes.csv changes, edit this public spreadsheet. Discussions at git issues (we can chat Portuguese in there!).

More details here. Example:

UF Wikidata link dump OSM dump Wikidata
AC acre = Q40780 AC map AC wd-dump
AL alagoas = Q40885 AL map AL wd-dump
... ... ... ...
GB extinct guanabara = Q1155409 no map? GB wd-dump
... ... ... ...

So, there are 4 opportunities to collabore:

  1. (any one) at the friendly public spreadsheet
  2. (github users) here, with issues or pull requests
  3. (wiki experts) at Wikidata
  4. (OSM users) at OpenStreetMap

We check here the consistency of all the parts, and we preserve all backups as stable snapshots.

Preparation

Download the spreadsheet as CSV, and update git with it. When editing datapackage, test goodtables datapackage.json and git diff before commit.

Sources and references

Primary:

Secondary and checking:

Other references:

See also

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].