XML and Web pages
Install package
install.packages("XML", dep = T)
library(XML)Load XML tree
install.packages("XML")
library(XML)
url <- "http://www.w3schools.com/xml/simple.xml"
document <- xmlTreeParse(url, useInternal=TRUE)rootNode <- xmlRoot(document)
xmlName(rootNode)rootNode[[1]]rootNode[[1]][[1]]Read a table from HTML
Get page using httr package
Authentificate with httr package
Last updated