Skip to main content

A module to access data from the Mauro Borges Statistic and Socioeconomic Institute (IMB), Goias - Brazil

Project description

pybdedata - a module to access IMB data

This is a module to access data from IMB (Mauro Borges Statistic and Socioeconomic Institute). Such information can be found at https://painelmunicipal.imb.go.gov.br/ by entering variable code, IBGE code or location IMB code.

Install: pip install pybdedata

Usage:

  #Import modules pybde and pandas
  import pybdedata.query as bde 
  import pandas as pd
  
  #Object instance
  bdeObj = bde.BDEquery()
  
  #Variables information from Statistics Database of IMB 
  variables = pd.DataFrame(data=bdeObj.getVariables())
  
  #Variables units information from Statistics Database of IMB
  units = pd.DataFrame(data=bdeObj.getUnits())
  
  #Municipalites information from Statistics Database of IMB
  location = pd.DataFrame(data=bdeObj.getLocations)
  
  #Access data from Statistics Database of IMB in variables code of 1 and 2.
  data = pd.DataFrame(data=bdeObj.getdata(codvarbde='1;2'))

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

pybdedata-0.0.5.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

pybdedata-0.0.5-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

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