In the browser the link downloads immediately, in less than a second. I let
the command run in R for five minutes, using R Studio. Nothing happened.

On Fri, 9 Aug 2024 at 17:54, Ivan Krylov <ikry...@disroot.org> wrote:

> В Thu, 8 Aug 2024 12:43:23 +0530
> Anupam Tyagi <anupty...@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
>


-- 
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.

Reply via email to