Skip to main content

Pacote para obter dados do Ipea Data

Project description

IpeaData

Pacote para obter dados do IpeaData baseado em https://github.com/ipea/pyIpeaData. Não consegui contato com o autor original, então criei esse projeto separado.

Install

pip install pyIpeaData

Use

Importar pacote

import pyIpeaData as ipea

Obter dados de uma série

ipea.get_serie('ADMIS')

Listar séries disponíveis

ipea.get_metadados()

Obter informações sobre uma série (usar campo SERCODIGO)

ipea.get_metadados('ADMIS')

Listar Temas das séries

ipea.get_temas()

Obter informações sobre um Tema (usar campo TEMCODIGO)

ipea.get_temas(28) #Agropecuária

Listar Páises das séries

ipea.get_paises()

Obter informações sobre um Pais (usar campo PAICODIGO)

ipea.get_paises('BRA') #Brasil

Listar Territórios das séries

ipea.get_territorios()

Obter informações sobre um Território (usar campo TERCODIGO e NIVNOME)

ipea.get_territorios('1100015','Municípios') #Alta Floresta D'Oeste

Listar Fontes das séries

ipea.get_fontes()

API Ipea Data

http://ipeadata.gov.br/api/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyIpeaData-0.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

pyIpeaData-0.0.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file pyIpeaData-0.0.1.tar.gz.

File metadata

  • Download URL: pyIpeaData-0.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for pyIpeaData-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1481c5a7558d124e7bcdfb6cf9f3de25c0bdc42635895ccc4965107336565501
MD5 fe0de3e6c7fffe0daab60455c2d99b49
BLAKE2b-256 534cdc4015ee14ab32e83a6a4a2648ea7d7b363108d478bcb9ffaf0ae6fd143f

See more details on using hashes here.

File details

Details for the file pyIpeaData-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyIpeaData-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for pyIpeaData-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c54434a5f22ce4595d82449289ce24ceb814e8b9c64a804ee6cc0535109130b9
MD5 40fb5e8d77f7f658e57a50875b349547
BLAKE2b-256 6785222f2037e5743b7b195b47707da3ca342a98df86f6c8817eca65e8774688

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page