There is some problem getting data with the WDI package. It gets data from World Development Indicators and other databases of The World Bank. I let the code run for several minutes and nothing happens. Sometimes it gives a time out message. I ran the same code last year and it worked. Any idea what the problem is and how to fix it?
> dat1EU = WDI(indicator = c('NY.ADJ.NNAT.GN.ZS', 'NY.GNS.ICTR.GN.ZS'), country > = c('EU'), start=1977, end=2020) > dat1OED = WDI(indicator = c('NY.ADJ.NNAT.GN.ZS', 'NY.GNS.ICTR.GN.ZS'), > country = c('OED'), start=1977, end=2020)Warning message: In open.connection(con, "rb") : URL 'https://api.worldbank.org/v2/en/country/OED/indicator/NY.ADJ.NNAT.GN.ZS?format=json&date=1977:2020&per_page=32500&page=1': Timeout of 60 seconds was reached The following command works and gives the correct output. > WDIsearch('savings') -- Anupam. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.