Re: [R] Coverting HTML data into CSV

2017-01-21 Thread Rui Barradas
Hello, You could give us an example of what html you are trying to read. Follow this example: install.packages("XML") library(XML) url <- "http://www.databaseolympics.com/sport/sportevent.htm?enum=110&sp=ATH"; dat <- readHTMLTable(readLines(url), which=2, header=TRUE, stringsAsFactors = FALS

Re: [R] Coverting HTML data into CSV

2017-01-20 Thread Mark Sharp
An example of your data will be very helpful. Saying that you have contents of an HTML file is not sufficiently descriptive. Note that the instructions recommend commented, minimal, self-contained, reproducible code. In leu of the HTML data file and code used to read it, you can use dput() with