Re: [R] Extract Data form Website Tables

2014-03-22 Thread Jennifer Young
Hi Doran I'm also trying to scrape the leaderboard data. Did you happen to figure out how to extract the athlete's team/affiliate? Trying to do a bit of code to figure out which teams will qualify when individuals are removed. On Sunday, March 2, 2014 2:34:21 PM UTC-5, Doran, Harold wrote: > >

Re: [R] Extract Data form Website Tables

2014-03-02 Thread Doran, Harold
This is fantastic, thank you. I¹ve modified the code to loop through all the pages and grab all rows of the HTML table. Thank you, Rui. On 3/2/14, 5:08 AM, "Rui Barradas" wrote: >Hello, > >Maybe something like the following. > >#install.packages("XML", dep = TRUE) > >library(XML) > >url <- >

Re: [R] Extract Data form Website Tables

2014-03-02 Thread Rui Barradas
Hello, Maybe something like the following. #install.packages("XML", dep = TRUE) library(XML) url <- "http://games.crossfit.com/scores/leaderboard.php?stage=1&sort=0&division=1®ion=0&numberperpage=60&page=0&competition=0&frontpage=0&expanded=0&full=1&year=14&showtoggles=0&hidedropdowns=0&showa