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.



113 Comments


sakshi patil
Oct 05

Ai software  is a useful resource for readers interested in artificial intelligence, software tools, technology updates, and digital solutions.

Like

sakshi patil
Oct 05

News page  is a simple platform for keeping up with interesting stories, current topics, and news from different areas.

Like

sakshi patil
Oct 05

Travel book  provides practical travel information and destination ideas that can help readers plan their next trip with more confidence.

Like

sakshi patil
Oct 05

Travelcities  is a useful place to explore different cities, discover attractions, and learn more about destinations worth visiting.

Like

sakshi patil
Oct 05

Travelpulse  offers interesting travel content for readers who enjoy discovering destinations, travel tips, and new experiences around the world.

Like
Post: Blog2_Post
bottom of page