Re: [R] Loading Chess Data

2012-09-11 Thread Robert Baer
On 9/2/2012 11:41 AM, David Arnold wrote: All, What would be the most efficient way to load the data at the following address into a dataframe? http://ratings.fide.com/top.phtml?list=men It depends. The most efficient for me was to highlight it, copy it to the windows clipboard and execute th

Re: [R] Loading Chess Data

2012-09-02 Thread Rui Barradas
Hello, Try the following library(XML) url <- "http://ratings.fide.com/top.phtml?list=men"; chess <- readHTMLTable(url, header = TRUE, which = 5) str(chess) # See what we have # All variables are factors, # convert these to integer chess$Rating <- as.integer(chess$Rating) chess$Games <- as.i

Re: [R] Loading Chess Data

2012-09-02 Thread Hasan Diwan
Mr Arnold, > What would be the most efficient way to load the data at the following >> address into a dataframe? >> > To what end? In other words, what are you trying to achieve with the ratings list? -- H -- Sent from my mobile device Envoyait de mon portable [[alternative HTML version

Re: [R] Loading Chess Data

2012-09-02 Thread jones
You might take a look at the link titled "Download Rating List", in the blue box on the right side of that page... albyn On 2012-09-02 9:41, David Arnold wrote: All, What would be the most efficient way to load the data at the following address into a dataframe? http://ratings.fide.com/top.

[R] Loading Chess Data

2012-09-02 Thread David Arnold
All, What would be the most efficient way to load the data at the following address into a dataframe? http://ratings.fide.com/top.phtml?list=men Thanks, David -- View this message in context: http://r.789695.n4.nabble.com/Loading-Chess-Data-tp4642006.html Sent from the R help mailing list a