epogrebnyak / weo-reader

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

October 2021 vintage cannot be downloaded #26

Closed jm-rivera closed 2 years ago

jm-rivera commented 2 years ago

When trying to download the October 2021 vintage, a CSV with some gibberish is downloaded. This is because the URL created by the package (through make_url_countries()) is of the old format. Just like for the April 2021 vintage, the URL has changed format.

epogrebnyak commented 2 years ago

@jm-rivera - thanks for providingba solution, merged it, keeping this issue open to:

epogrebnyak commented 2 years ago

Closed via 1718190fc676e1f3fe19c9849977c6752aef77e2

Announce: https://twitter.com/PogrebnyakE/status/1449135331979190273

PyPI: https://pypi.org/project/weo/0.7.0/

epogrebnyak commented 2 years ago

@jm-rivera - I tried simplify the url creation, hope it makes code more maintainable in the future