4 Comments
User's avatar
Rodrigo's avatar

I tried to reproduce the code, but it doens't works! When I get ppi_data, returns me a 0-0 df

Expand full comment
Christopher Smith's avatar

FYI, we published a fix to CRAN, so if you upgrade to version 0.1.1, the query should work with the date filters now. Thanks for the bug report!

Expand full comment
Christopher Smith's avatar

Rodrigo, I apologize for that! I discovered just before the release that only one of the nine IMF agencies that offer dataflows through the API supports date filters. If you try to filter by date when requesting data from one of the eight agencies that lack support for this, you get an empty data frame. I applied some workaround patches right before our release, and I thought I had sufficiently tested them to make sure they worked, but apparently not! I will push a fix in the next day or two, and in the meantime, if you run that query without the date filters (as in the edited example now in the post above), you will get data.

Expand full comment
Christopher Smith's avatar

(Ah, it was the old "you tested queries with monthly frequency but not with annual frequency" gotcha!)

Expand full comment