[R] Download data

Jim Lemon jim at bitwrit.com.au
Wed May 29 14:35:40 CEST 2013


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



More information about the R-help mailing list