Open nreigl opened 6 years ago
IMF's API has substantially changed. This package needs to be updated based on info found here: https://sdmxcentral.imf.org/rest-get.html
I was unable to reproduce this problem.
library(imfr)
real_ex <- imf_data(database_id = 'IFS', indicator = 'EREER_IX',
country = c('CN', 'GB'), freq = 'A',
start = 2013, end = current_year())
real_ex
# iso2c year EREER_IX
# 1 CN 2013 114.63856
# 2 CN 2014 118.34228
# 3 CN 2015 129.93152
# 4 CN 2016 123.62516
# 5 CN 2017 120.07204
# 6 CN 2018 121.68013
# 7 GB 2013 102.05529
# 8 GB 2014 108.71170
# 9 GB 2015 113.73749
# 10 GB 2016 102.36253
# 11 GB 2017 97.07482
# 12 GB 2018 98.82861
Hi @christophergandrud,
Have you been able to solve your issue? I am having the same problem but the link provided by @cjyetman no longer exists. I downloaded the package yesterday and it worked fine. The problem Error: Unable to download series. only arose today. (I tried the same code as you). I updated the package by downloading it again, but without success.
Thanks for raising the issues @clemdmcl
I was also just now not able to download the series:
library(imfr)
real_ex <- imf_data(database_id = 'IFS', indicator = 'EREER_IX',
country = c('CN', 'GB'), freq = 'A',
start = 2013, end = current_year())
Downloading: 150 kB Error: Unable to download series.
Called from: download_parse(URL)
Browse[1]>
real_ex
Error: object 'real_ex' not found
Hi @christophergandrud,
thanks for checking, I dont know how this problem could be solved though
Running the example Simple Country-Time-Variable
I get
Windows
sessionInfo()
Running the same code snippet on OSX gives the same error.
OSX
sessionInfo()