Commit e8470792 authored by Thomas Brand's avatar Thomas Brand

Fix bug due to new BIS convention.

parent a1002965
......@@ -74,11 +74,11 @@ filter <- paste0("Q.",url_country,".N+H.A.M.XDC.A")
df <- rdb("BIS","CNFS",mask = filter)
loans <- df %>%
select(period, series_code, value, `borrowers-country`, series_name) %>%
select(period, series_code, value, `Borrowers' country`, series_name) %>%
rename(time = period,
var = series_code,
values = value,
country = `borrowers-country`) %>%
country = `Borrowers' country`) %>%
mutate(time=as.Date(as.yearqtr(gsub("Q","",time))),
values=ifelse(values=="",NA,values),
values = as.numeric(values)) %>%
......
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