Using R for Cricket Analysis #rstats

ESPN Crincinfo is the best site for cricket data (you can see an earlier detailed post on the database  here  ), and using the XML package in R we can easily scrape and manipulate data

Here is the code.

#Note I can also break the url string and use paste command to modify this url with parameters
tables$"Overall figures"

#Now see this- since I only got 50 results in each page, I look at the url of next page

table1=tables$"Overall figures"
table2=tables$"Overall figures"

#Now I need to join these two tables vertically


Note-I can also automate the web scraping .
Now the data is within R, we can use something like Deducer to visualize.
Created by Pretty R at