top of page
  • Writer's pictureSiddharth Rastogi

Cricket Analytics (Part 1) : Scraping ODI data from Statsguru

We all know how relevant the data is for any sport. As we have seen from 2001 to 2019, ODI cricket has changed a lot in terms of runs scored, strike rate, or the number of sixes hit by a batsman. But before focusing on these parameters, we need to have data from 2000 to 2019 for our analysis. To get data, we will be using Statsguru.

Statsguruis the world's premier online tool for analyzing cricket statistics. It gives you the flexibility to create records based on your search criteria. It can be used to query data for test matches, ODI or T20's. In this blog, we use ODI and batting as our search criteria to fetch innings by innings data.

It will help if you have a basic understanding of HTML to scrape data. You can refer to my video below to get the basic knowledge of web scraping.

I have written a python script for scraping data from Statsguru. Then we export this data to CSV/excel file and use it for further analysis. If you need more information on how to scrape data from Statsguru, I would be happy to help you with that. Similarly, you can query any data from Statsguru or and extract data from it for your analysis.

In the next blog, we will see how we can use ODI data and analyze it further. It will throw some light on how batting in ODI has changed a lot over the years in terms of runs scored, the number of sixes hit, and centuries scored.

You can reach out to me on LinkedIn :

799 views1 comment

1 comentário

Rahul Ramanan
Rahul Ramanan
20 de jun. de 2021

Hi can you please share python scripting file you used for scraping from statsguru

Post: Blog2_Post
bottom of page