Re: [R] readHTMLTable() in XML package

2015-03-03 Thread Doran, Harold
[mailto:h.wick...@gmail.com] Sent: Monday, March 02, 2015 2:05 PM To: Doran, Harold Cc: r-help@r-project.org Subject: Re: [R] readHTMLTable() in XML package This somewhat simpler rvest code does the trick for me: library(rvest) library(dplyr) i <- 1:10 urls <- paste0('http://games.crossfit.

Re: [R] readHTMLTable() in XML package

2015-03-02 Thread Hadley Wickham
This somewhat simpler rvest code does the trick for me: library(rvest) library(dplyr) i <- 1:10 urls <- paste0('http://games.crossfit.com/scores/leaderboard.php?stage=5', '&sort=0&division=1®ion=0&numberperpage=100&competition=0&frontpage=0', '&expanded=1&year=15&full=1&showtoggles=0&hidedrop

[R] readHTMLTable() in XML package

2015-03-02 Thread Doran, Harold
I'm having trouble pulling down data from a website with my code below as I keep encountering the same error, but the error occurs on different pages. My code below loops through a wensite and grabs data from the html table. The error appears on different pages at different times and I'm not sur