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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for pybdedata-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46fddc776f6eaa7e56a71d8f3eadf2ce3001694f463244ac096578744abbdd68 |
|
MD5 | 45d7117c4bee76c14fa100c82113dc52 |
|
BLAKE2b-256 | 102ed306c15f6cef541b188555f9a9e5ac087de46be3829c1865fc14d601f473 |