[R] WDI package commands timing out and not working

Ivan Krylov |kry|ov @end|ng |rom d|@root@org
Fri Aug 9 14:23:58 CEST 2024


В Thu, 8 Aug 2024 12:43:23 +0530
Anupam Tyagi <anuptyagi using gmail.com> пишет:

> 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

If you try to open the link in the browser, does it work? How long does
it take to download? Try increasing options(timeout=...) to a larger
time (in seconds).

I see there is Cloudflare sitting in front of the API, but it's
relatively non-aggressive. I could only get it to deny my request by
accessing it through Tor.

-- 
Best regards,
Ivan



More information about the R-help mailing list