Displaying 20 results from an estimated 600 matches similar to: "using sapply to apply function to some columns of a dataframe"
2018 Jan 23
1
Scraping from different level URLs website
I am doing a research on World Bank (WB) projects on developing countries. To do so, I am scraping their website in order to collect the data I am interested in.
The structure of the webpage I want to scrape is the following:
1. List of countries the list of all countries in which WB has developed projects<http://projects.worldbank.org/country?lang=en&page=>
1.1. By clicking on a
2011 Oct 31
1
googleVis motionchart - slow with Date class
Hi,
I am trying to create a googleVis motion chart with monthly data. When formatting the date column as a Date class variable, the plot as presented in the browser becomes considerably slower and very prone to crashing the browser. To illustrate this issue I have modified the WorldBank demo.
### objects from demo("WorldBank", package = "googleVis")
M <-
2024 Aug 09
1
WDI package commands timing out and not working
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. My internet speed is well above 40Mbps. This should not take that
long. It seems the process timed
2024 Aug 09
1
WDI package commands timing out and not working
>>>>> 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 <anuptyagi at gmail.com> ?????:
>> In open.connection(con, "rb") :
>> URL
>>
2024 Aug 09
2
WDI package commands timing out and not working
? Thu, 8 Aug 2024 12:43:23 +0530
Anupam Tyagi <anuptyagi at 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
2012 Jan 13
3
The Future of R | API to Public Databases
Dear R Users -
R is a wonderful software package. CRAN provides a variety of tools to
work on your data. But R is not apt to utilize all the public
databases in an efficient manner.
I observed the most tedious part with R is searching and downloading
the data from public databases and putting it into the right format. I
could not find a package on CRAN which offers exactly this fundamental
2024 Aug 08
1
WDI package commands timing out and not working
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',
2024 Aug 09
1
WDI package commands timing out and not working
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 <ikrylov at disroot.org> wrote:
> ? Thu, 8 Aug 2024 12:43:23 +0530
> Anupam Tyagi <anuptyagi at gmail.com> ?????:
>
> > In open.connection(con, "rb") :
> > URL
2017 Nov 06
0
New package: data360r to access trade and governance open data
Hi everyone,
We've recently launched data360r, now available on CRAN at https://cran.r-project.org/web/packages/data360r/index.html
This package makes it easy to engage with the APIs of the TCdata360 and Govdata360 open data platforms at https://tcdata360.worldbank.org/ and https://govdata360.worldbank.org/, respectively. These APIs provide access to over 5000 trade, competitiveness, and
2017 Nov 06
0
New package: data360r to access trade and governance open data
Hi everyone,
We've recently launched data360r, now available on CRAN at https://cran.r-project.org/web/packages/data360r/index.html
This package makes it easy to engage with the APIs of the TCdata360 and Govdata360 open data platforms at https://tcdata360.worldbank.org/ and https://govdata360.worldbank.org/, respectively. These APIs provide access to over 5000 trade, competitiveness, and
2007 Jul 24
1
How to add circular text for a graph with concentric circles
Dear R experts,
I am plotting the population of students who live in a city, and in
successive circular bands made of the contiguous districts that surround
the city. This is a stylized figure, where I specify the area of each
successive circle based on the cumulative population of students. I want
to compare two sets of concentric circles across different populations -
such as 'All
2002 Sep 19
2
Samba 3 alpha19 - some testing results and problems
1. First of all, source/include/includes.h file contains wrong refence to file
popt.h. In supposed to be "popt/popt.h" instead of "popt.h".
After this correction source compiles OK.
2.After the installation on new alpha19 (I used alpha17 before) swat stopped
authenticating (I use same credentials for Samba 2.2.5 and samba 3 swat).
3. Samba-3 shares are accessible through
2016 Apr 22
0
New Package on CRAN: wbstats
Hello,
I wanted to announce the release of a new package on CRAN wbstats.
>From the description "Tools for searching and downloading data and statistics from the World Bank Data API (http://data.worldbank.org/developers/api-overview) and the World Bank Data Catalog API (http://data.worldbank.org/developers/data-catalog-api)"
Here is a (hopefully) useful vignette if you would like
2012 Apr 09
0
freelance consulting opportunity for R expert (causal inference & data visualization)
SELECTION FOR CONSULTANTS BY THE WORLD BANK
REQUEST FOR EXPRESSIONS OF INTEREST
All Submissions must be made via the World Bank Group's "eConsult2"
system.
Please go to:
https://wbgeconsult2.worldbank.org/wbgec/index.html
Click on "Business Opportunities", and find the following assignment:
Assignment Title: 1067014 - Statistical Analyst with Extensive
Experience in
2015 Mar 12
0
Requirement for pandoc 1.12.3 in R 3.1.3
----- Original Message -----
> From: "John Nash" <profjcnash at gmail.com>
> To: "Prof Brian Ripley" <ripley at stats.ox.ac.uk>, r-devel at r-project.org
> Sent: Thursday, March 12, 2015 8:15:42 AM
> Subject: Re: [Rd] Requirement for pandoc 1.12.3 in R 3.1.3
>
> Thanks Brian.
>
> Indeed, the vignette is in markdown form. When I updated my
2010 Oct 27
5
xhci passthrough
Hi Konrad,
Due to a 2.6.37-merge-window kernel now being able to boot under Xen i was able to test my xhci controller under dom0 which i previously couldn''t.
The results:
A) 2.6.37-merge-window kernel baremetal: Videograbbing while doing 20 iterations of make -j6 of kernel works.
B) Xen + 2.6.37-merge-window kernel as Dom0: Videograbbing while doing 20 iterations of make -j6 of kernel
2015 Mar 12
2
Requirement for pandoc 1.12.3 in R 3.1.3
Thanks Brian.
Indeed, the vignette is in markdown form. When I updated my system to
R 3.1.3 I ran update.packages() and this seems to have upset things
(including R-studio processing of markdown files).
I tried removing rmarkdown and reverting to an older version so that my
sessionInfo() is
Loading required package: rmarkdown
> sessionInfo()
R version 3.1.3 (2015-03-09)
Platform:
2015 Oct 01
2
Fwd: buildbot failure in LLVM on llvm-mips-linux
The failure is a bit odd. LLVM is ignoring $PWD because it doesn't have the same inode as '.'. This causes the test failure because DW_AT_comp_dir and $PWD differ. However, $PWD and '.' should be the same inode since $PWD is a symlink to the current directory and stat() looks through symlinks.
> Since this latest board only has two cores, it will run slower and it will need
2012 Nov 20
2
[PATCH][RFC] OpenUPS driver
Hi all,
I attached a driver for MiniBox openUPS device (
http://www.mini-box.com/OpenUPS) and a dump of the hid usages.
I had the possibility to make a few adjustments to the device firmware for
HID usages, and although I haven't managed to produce a good structure
many issues from previous firmware were at least fixed and new information
added.
ATM the driver only shows pertaining
2004 Jul 04
2
smooth non cumulative baseline hazard in Cox model
Hi everyone.
There's been several threads on baseline hazard in Cox model but I think
they were all on cumulative baseline hazard,
for instance
http://tolstoy.newcastle.edu.au/R/help/01a/0464.html
http://tolstoy.newcastle.edu.au/R/help/01a/0436.html
"basehaz" in package survival seems to do a cumulative hazard.
extract from the basehaz function:
sfit <- survfit(fit)
H