top of page

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

  • Writer: Siddharth Rastogi
    Siddharth Rastogi
  • Apr 18, 2021
  • 1 min read

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 https://cricsheet.org 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 : https://www.linkedin.com/in/siddharthrastogi31.



100 Comments


Rajeev Seth
Rajeev Seth
3 days ago

I had some questions about Fairplay Login , and this blog answered them smoothly. The step-by-step explanation makes the process easy to understand.

Like

Rajeev Seth
Rajeev Seth
3 days ago

I wanted to understand more about Fairplay Global , and this content gave me exactly what I needed. The details are presented in a clear and organized way.

Like

Rajeev Seth
Rajeev Seth
3 days ago

I was curious about Fairplay Club  features, and this article provided helpful insights. Everything is explained in a simple and structured manner.

Like

Rajeev Seth
Rajeev Seth
3 days ago

I was searching for reliable information related to Fairplay Live  , and I'm really glad I came across this blog. The content is well-structured and very easy to understand. Great job explaining everything so clearly!

Like

Rajeev Seth
Rajeev Seth
3 days ago

I was exploring information about the Fairplay App , and this content helped a lot. The layout is neat, the points are explained smoothly, and it makes understanding the platform much easier. Great work putting this together

Like
Post: Blog2_Post
bottom of page