# NOT RUN {
filename = tempfile(tmpdir = "~", fileext = ".html") # added space
rdom("https://en.wikipedia.org/wiki/Main_Page", filename = filename)
rdom(filename)
unlink(filename)
library("rvest")
stars <- "http://www.techstars.com/companies/stats/"
# doesn't work
html(stars) %>% html_node(".table75") %>% html_table()
# should work
rdom(stars) %>%
html_node(".table75") %>%
html_table()
# more efficient
stars %>% rdom(".table75") %>% html_table()
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab