datasets-br / city-codes

Brazilian city names and official codes, IBGE, LexML and others

Home Page:http://datasets.OK.org.br/city-codes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

city-codes

  goodtables.io

Comprehensive Brazilian city code information, including IBGE codes, wikidata IDs and URN LEX labels. Provided as a Simple Data Format Data Package (see datapackage.json visualization).

Brazilian city names and official codes of 5570 municipalities.

Collaborative updating

See Collaborative spreadsheet editor and Wikidata references.

Periodic dumps: please, to update dumps run

  • php src/etc/dumpWikidata.php to update data/dump_wikidata, *.json files at each state-folder.
  • php src/dumpOsm.php geo to update data/dump_osm, *.geojson files at each state-folder.

Stable versions

See homologation process after each cicle of update.

Sources

  • IBGE data in bulk of "Organizaçao do Território Brasileiro/Divisão Territorial", ftp://geoftp.ibge.gov.br/organizacao_do_territorio/estrutura_territorial/divisao_territorial

  • List of all municipalities (Wikipedia and source of Wikidata links)

  • CEP

Other links

About

Brazilian city names and official codes, IBGE, LexML and others

http://datasets.OK.org.br/city-codes


Languages

Language:PLpgSQL 36.9%Language:PHP 31.1%Language:HTML 31.1%Language:Shell 0.9%