Respository of all work I've done in regards to the Friends of Tracking (FoT) online lectures and videos on Youtube. FoT is provided by David Sumpter in cooperation with other big names in the football analytics world, including William Spearmann (Liverpool), Sergio Llana (Barcelona), Laurie Shaw among many others.
(lectures folder)
- 1_exploreStatsBombData.ipynb
The first lecture where we load the event data from StasBomb's github (https://github.com/statsbomb/open-data), we transform the json() files to more a more useful Pandas dataframe. We finish by extracting several metrics like shots and passes from all the event data.
- 2_ShotAndPassMaps.ipynb
In the second lecture we will use the shots and passes we have extracted in the first lecture to create our own pass- and shots maps. More specific will we visualize how Yussuf Poulsen performed in the World Cup 2018. A tournament which is the highlight of Yussuf's international career and gave him confidence to lead and captain RB Leipzig to their great rise in the recent years.
- 3_TrackingData.ipynb
(lectures_folder)
- FCPython.py A python file created by https://fcpython.com/, which plots the map used for Pass Maps, Shot Maps etc.
- genfunc.py A collection of common functions which are often used when workning with event and tracking data, like loading and transforming the raw data.
- Metrica_IO
- Metrica_VIZ