Re: [R] readHTMLTable() in XML package

2015-03-03 Thread Doran, Harold
] 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.com/scores/leaderboard.php?stage=5

[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

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=0division=1region=0numberperpage=100competition=0frontpage=0',