Repository of code I use to analyze many aspects of soccer\football. My background is in Geography so I apply spatial analytic techniques to the sport. I include the ssalib2 python library for easily parsing data from open sources.
There are a variety of projects available for review.
- Interactive visualizations. Mostly Fantasy Premier League data...
- Data stories
As a Geographer, I was very interested in how Location is used in event and tracking data. location
The dataset used in these examples are pulled from StatsBomb's open datasets. As you can see I had trouble understanding the location information contained in their json event datasets. I found them counterintutive to how I typically view locations. I think I understand now, and appreciate their (assumed) reasoning behind it, but you'll see I play around with placement on the pitch.
- Github statsbomb
- StatsBomb Signup
- StatsBomb R package <- one of the required packages is no longer in the R repository? The presentation is helpful to see how some analysis can be done.
- StatsBomb Messi
- StatsBomb in Use
- wyscout open data paper for the data Pappalardo, L., Cintia, P., Rossi, A. et al. A public data set of spatio-temporal match events in soccer competitions. Sci Data 6, 236 (2019). https://doi.org/10.1038/s41597-019-0247-7
- SkillCorner tracking data
Some other libraries that I've found: Soccermatics by JoGall is an R library. It also includes the tromso dataset. https://github.com/JoGall/soccermatics Barron83's fork of soccermatics seems to have more functions.https://github.com/barron83/soccermatics