What is Cricsheet?
Cricsheet is Retrosheet for Cricket. We provide ball-by-ball data for Men’s and Women’s Test Matches, One-day internationals, Twenty20 Internationals, some other international T20s, and all Indian Premier League seasons.
At the moment we have ball-by-ball information for 3,380 matches, comprising 390 Test matches, 5 other multi-day matches, 1,390 One-day internationals, 158 other one-day matches, 703 T20 internationals, 157 international T20s, and 577 IPL matches, featuring 58 countries, 13 IPL teams, and 2 representative XIs going back as far as 2009 (for women), and 2005 (for men).
The most recent matches added to the site are: the Australia vs Pakistan Men’s ODI match that was played on the 22nd of January, 2017, the Afghanistan vs Oman Men’s T20 match that was played on the 20th of January, 2017, and the Ireland vs Scotland Men’s T20 match that was played on the 20th of January, 2017.
The data is provided in number of zip files, one of which contains all of the matches, and the others certain sub-sets of matches, such as for type of matches, matches for certain countries, teams, or genders, or periods of time. We also provide (as an experiment) CSV, and XML versions of all matches. Below is the listing of the data grouped by types of matches (for any gender), or you can see the full set of downloads, in various formats, on the downloads page.
Using the data
What could you do with the data? Well that’s up to you really. You could investigate who are the best and worst value players in the IPL. Or see how much difference different non-strikers make to the scoring rate of the people they bat with. Or come up with something completely new that revolutionises cricket like finding the equivalent of DIPS (Defense independent pitching statistics) from baseball.
The data format
The data is provided in YAML format, a human-readable data format. There are libraries available to parse this in multiple languages. As for the structure of the file, hopefully it is clear enough when you have a look at the data, although a full description of the format is also available.
How can I help?
Spotting errors in the data
The first method of helping would be to spot any errors in the data. Ideally we won’t have any but there’s always the chance and if we can spot the errors we can fix them and write further validation to ensure that further examples don’t slip through.
Helping with missing data
The second method of helping is to help us get ball-by-ball data for our missing games. This doesn’t even have to involve finding the data, it’s possible you know a contact who may be able to shed light on some matches, or you know of someone who has the commentary for a match on tape. Even small bits of info might be enough to put us on the right track.
We do have an infrequent blog to which we occasionally post about updates to the data format, additions to the site, or random musings. The most recent entry was “Innings-level penalty runs – Data version updated to 0.8” on the 8th of January, 2017.
Getting in touch
You can contact the project at stephen (at) cricsheet (dot) org. Feel free to get in touch, we love hearing about what people are doing with the data.