Skip to content

This repository contains code from <Friends of Tracking> online courses

License

Notifications You must be signed in to change notification settings

h3dema/SoccermaticsForPython

Repository files navigation

SoccermaticsForPython

This repo is dedicated for people getting started with Python using the concepts derived from the book Soccermatics (Sumpter 2016).

The code follows the video lectures from the Youtube channel 'Friends of Tracking' https://www.youtube.com/channel/UCUBFJYcag8j2rm_9HkrrA7w

LaurieOnTracking

Laurie's code for reading and working with Metrica's tracking and event data.

The sample data can be found in Metrica's github repository here: https://github.com/metrica-sports/sample-data

We'll be updating this repo as the friends of tracking series develops, adding code for measuring player velocity and acceleration, measuring team formations, and evaluating pitch control using a model published by Will Spearman.

To create movies from the tracking data you'll need to have ffmpeg installed. You can do this by following the instructions here: https://anaconda.org/conda-forge/ffmpeg (you may need to restart python afterwards).

Download

You should put the freely availbale data in the directories: Statsbomb Wyscout Signality (coming soon)

Downloading Statsbomb data (https://github.com/statsbomb/open-data)

Lecture List:

0helloworld.py: Setting Up to do Data Science (https://www.youtube.com/watch?v=FZ_XTfezCH4) 1LoadInData: Loading in and looking at football data ()

more coming soon....

About

This repository contains code from <Friends of Tracking> online courses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published