Commit cd1d0445 authored by Thomas Brand's avatar Thomas Brand

Adapt to new widukind api link for IMF/WEO.

parent 2ddf5423
......@@ -311,7 +311,7 @@ lendingrate_bycountry <- df %>%
country_iso <- c("BEL","FRA", "DEU", "ITA", "NLD", "FIN", "IRL", "ESP")
url_country_iso <- paste0(country_iso, collapse = "+")
url <- paste0(url_widukind,"/IMF/data/WEO/PPPWGT.",url_country_iso,".",url_country,".5")
url <- paste0(url_widukind,"/IMF/data/WEO/PPPGDP.",url_country_iso,".5")
data_sdmx <- readSDMX(url)
df <- as.data.frame(data_sdmx)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment