Hi, I'm trying to download data from: http://www.ngx.com/settlehistory.html Is it possible to fetch the data with R? Thank you -- View this message in context: http://r.789695.n4.nabble.com/Download-data-tp4668138.html Sent from the R help mailing list archive at Nabble.com.
Download data
5 messages · jcrosbie, Jim Lemon, Pascal Oettli +2 more
On 05/29/2013 02:02 AM, jcrosbie wrote:
Hi, I'm trying to download data from: http://www.ngx.com/settlehistory.html Is it possible to fetch the data with R?
Hi jcrosbie,
The simplest way seems to be to highlight the desired spreadsheet (less
the title row), copy (Ctrl-C) and paste (Ctrl-V) it into a text editor
and save it (e.g. ss1.tab). This produces a TAB delimited file that can
be read into a data frame in R with:
ss1<-read.table("ss1.tab")
Jim
Hi, The combination "read.table" (and its arguments) + "stdin" also can be used, directly in R. > read.table(stdin(), ...) Regards, Pascal
On 29/05/2013 21:35, Jim Lemon wrote:
On 05/29/2013 02:02 AM, jcrosbie wrote:
Hi, I'm trying to download data from: http://www.ngx.com/settlehistory.html Is it possible to fetch the data with R?
Hi jcrosbie,
The simplest way seems to be to highlight the desired spreadsheet (less
the title row), copy (Ctrl-C) and paste (Ctrl-V) it into a text editor
and save it (e.g. ss1.tab). This produces a TAB delimited file that can
be read into a data frame in R with:
ss1<-read.table("ss1.tab")
Jim
______________________________________________ R-help at r-project.org mailing list 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.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130529/bb3c6e1e/attachment.pl>
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130529/7aeee499/attachment.pl>