A package to import data from major humanitarian, development and financial institutions.
$ pip install bblocks_data_importers
Import the package and use the various importer objects to access data from different sources.
import bblocks_data_importers as bbdata
To access data from the IMF's World Economic Outlook use a WEO object:
weo = bbdata.WEO() # Create a WEO object
df = weo.get_data() # Get the data as a pandas DataFrame
Available importers include:
WEO
to access the IMF's World Economic OutlookGHED
to access WHO's Global Health Expenditure DatabaseWFPFoodSecurity
andWFPInflation
to access the World Food Programme's Food Security and Inflation dataWorldBank
to access the World Bank dataInternationalDebtStatistics
to access the World Bank's International Debt Statistics
Read the documentation for more details on each importer here
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
bblocks_data_importers
was created by The ONE Campaign. It is licensed under the terms of the MIT license.
This package is maintained by Luca Picci and Jorge Rivera
bblocks_data_importers
was created with cookiecutter
and the py-pkgs-cookiecutter
template.