epogrebnyak / weo-reader

Python client to read IMF World Economic Outlook (WEO) dataset as pandas dataframe.
31 stars 12 forks source link

Update README and new dataframe functionality #17

Closed aneziac closed 3 years ago

aneziac commented 3 years ago

Closes #14. Adds functions to select more data like GDP per capita and GDP (PPP). Adds id_column parameter to WEO constructor so that users can choose to return columns with country names as indices instead of ISOs. Increases functionality of accept_year so that users can select multiple years like so: w.gdp_usd([2008, 2016]) for data from 2008 and 2016 and w.gdp_usd(start_year=2010, end_year=2020) for data from 2010-2020.