Re: [R] WDI package commands timing out and not working

2024-08-10 Thread Anupam Tyagi
Thanks, Ivan. I will fill out the support form at the World Bank. On Fri, 9 Aug 2024 at 22:16, Ivan Krylov wrote: > В Fri, 9 Aug 2024 20:25:51 +0530 > Anupam Tyagi пишет: > > > I am trying this in Bengaluru, India, using R-studio. I tried > > downloading a single variable. It happened fast, in

Re: [R] WDI package commands timing out and not working

2024-08-09 Thread Ivan Krylov via R-help
В Fri, 9 Aug 2024 20:25:51 +0530 Anupam Tyagi пишет: > I am trying this in Bengaluru, India, using R-studio. I tried > downloading a single variable. It happened fast, in less than 5 > seconds. I tried downloading six variables, it took much longer, but > less than a minute. Tried eight variables

Re: [R] WDI package commands timing out and not working

2024-08-09 Thread Anupam Tyagi
Thanks, Martin. I am trying this in Bengaluru, India, using R-studio. I tried downloading a single variable. It happened fast, in less than 5 seconds. I tried downloading six variables, it took much longer, but less than a minute. Tried eight variables and it did not download even in five minutes.

Re: [R] WDI package commands timing out and not working

2024-08-09 Thread Martin Maechler
> Ivan Krylov via R-help > on Fri, 9 Aug 2024 15:23:58 +0300 writes: > В Thu, 8 Aug 2024 12:43:23 +0530 > Anupam Tyagi пишет: >> In open.connection(con, "rb") : >> URL >> 'https://api.worldbank.org/v2/en/country/OED/indicator/NY.ADJ.NNAT.GN.ZS?format=json&date=1

Re: [R] WDI package commands timing out and not working

2024-08-09 Thread Anupam Tyagi
I tried running the same command on my home computer, and it downloaded in less than 30 seconds. So, it seems the problem is with internet connection at work. Thanks, Ivan. On Fri, 9 Aug 2024 at 18:30, Anupam Tyagi wrote: > In the browser the link downloads immediately, in less than a second. I

Re: [R] WDI package commands timing out and not working

2024-08-09 Thread Anupam Tyagi
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 wrote: > В Thu, 8 Aug 2024 12:43:23 +0530 > Anupam Tyagi пишет: > > > In open.connection(con, "rb") : > >

Re: [R] WDI package commands timing out and not working

2024-08-09 Thread Ivan Krylov via R-help
В Thu, 8 Aug 2024 12:43:23 +0530 Anupam Tyagi пишет: > 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 brow

[R] WDI package commands timing out and not working

2024-08-08 Thread Anupam Tyagi
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 wha