I've been unable to download data using the wb_data() function in R (v 4.4.0).
It was working fine until recently, so is perhaps because the WB API is down(?). However, I could find nothing on the World Bank's website to suggest this was the case.
When I run the code below I receive the error:
"Error in curl::curl_fetch_memory(url, handle = handle) :
Timeout was reached: [api.worldbank.org] Operation timed out after 20003 milliseconds with 0 bytes received"
I've tried changing my internet connection and increasing the timeout.
I've been unable to download data using the wb_data() function in R (v 4.4.0).
It was working fine until recently, so is perhaps because the WB API is down(?). However, I could find nothing on the World Bank's website to suggest this was the case.
When I run the code below I receive the error:
I've tried changing my internet connection and increasing the timeout.
`library(wbstats)
my_indicators <- c("SP.POP.TOTL", "NY.GDP.MKTP.CD", "SL.UEM.TOTL.ZS", "SP.DYN.CBRT.IN")
df <- wb_data(my_indicators)`