Answer by IRTFM for Parsing a CSV HTML stream in R
> con=url("http://www.nwrfc.noaa.gov/esp/esp2csv.cgi?id=slkw1")> table(count.fields(con, sep=",")) 1 25521 2 1 So there are two lines with one field only ... turns out that skipping two lines...
View ArticleAnswer by Maiasaura for Parsing a CSV HTML stream in R
I got this far. If someone can go further, please edit my answer.library(RCurl)library(XML)library(stringr)# grab the content. can't use readHTMLTable since this isn't one.htmldata <-...
View ArticleParsing a CSV HTML stream in R
I am trying to parse an html page that is displayed in csv format.I would like to read this table on the fly of the page directly into R (http://www.nwrfc.noaa.gov/esp/esp2csv.cgi?id=slkw1) and then...
View Article
More Pages to Explore .....