wbdata
wbdata copied to clipboard
A python library for accessing world bank data
Thank you for this helpful package! One of the issues I faced has to do with Taiwan data. If one tries to query it on its own (like in `wbdata.get_data('IC.LGL.CRED.XQ',...
A query using wbdata does not return data, despite it being available on the WB website. For example, compare: https://databank.worldbank.org/reports.aspx?source=worldwide-governance-indicators#` With the following script: import wbdata data_dates = (datetime.datetime(2019,1,1), datetime.datetime(2019,1,1))...
After installing using `pip install wbdata` I am getting a pickling error on doing just a simple `import wbdata as wb` command: ``` UnpicklingError Traceback (most recent call last) in...
If the cache is corrupted, it should be deleted instead of raising an error, to prevent problems like #62.
The World Bank API recently updated their API address, from "http://api.worldbank.org", to "http://api.worldbank.org/v2". It looks like the wbdata package's master branch has been stale for the past 4 years, updates...
I'd like to get data on all countries, and exclude aggregates. Is there a way to do this, e.g. with `get_dataframe`?
**Problem**: Some indicators have no data but wbdata loops endlessly, incrementing the requested page on each request. **Example** https://api.worldbank.org/v2/sources/85/indicators Response ``` ``` **Solution**: early exit if WorldBank API returns pages=0...
We just switched from pandas-data reader to wbdata as a dependency for the pyam package, see https://pyam-iamc.readthedocs.io. I have the following issue on Mac OS 14.2.1, Python 3.12.2, using both...
Allow sequences of length 2 for dates even though it should *really* be a tuple. Contributes to #71.