library(WDI)
data2<-WDI(country="VN",indicator=c("NE.CON.PRVT.PC.KD",
"NE.CON.GOVT.KD","NE.GDI.TOTL.KD",
"NE.EXP.GNFS.KD","NE.IMP.GNFS.KD",
"SL.TLF.ACTI.ZS","NY.GDP.PCAP.KD"),
start=1960,end=2020)
Return: None of the indicators your requested could be downloaded. Please verify the arguments of the WDI()
function. You can also type a URL of this form in your browser to check if the World Bank web API is currently serving the indicator(s) of interest: https://api.worldbank.org/v2/country/all/indicator/NE.CON.PRVT.PC.KD?format=json&date=1960:2020&per_page=32500&page=1
I think I could not access to world bank database using R for some reasons. Any suggestion?
I have never used WDI before but a test run with your code worked for me.
Is there any chance you are behind some kind of firewall?
BTW I am running Ubuntu 20.04, what is your OS? I keep hearing all sorts of weird things about Windows 10 permissions.
1 Like
Actually I tested it again last night and it worked. Something wrong with my internet connection at that time I guess. Thanks for answering.
system
Closed
4
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.