JoGall/soccermatics

To do list

JoGall opened this issue ยท 2 comments

A rough list of functions and utilities I'd like to add to the package. Recommendations welcomed!

๐Ÿšง = under construction
๐Ÿ’ก = still just a pipedream

Visualisations

๐Ÿ’ก Post-match odds based on simulating shots
๐Ÿšง Voronoi diagrams / Delaunay triangulation / convex hull
๐Ÿšง Wrapper functions to animate metrics frame by frame
๐Ÿ’ก Defensive coverage plots

Advanced analytics

๐Ÿšง Wrapper functions for common metrics (xG, xA, forward progressions, PossAdjT&A, etc...)
๐Ÿ’ก Event sequence plots and possession sequence metrics (possession spell and final product, i.e. does it end in final third, end in shot, end in goal)
๐Ÿ’ก Directness, synchronisation of movement direction, space utilisation)
๐Ÿšง Space control / dominance (e.g. ratio of Voronoi areas / convex hull areas)
๐Ÿ’ก Goalscoring threat (xG in each frame based on view to goal based on distance / angle of ball from opposition goal, number of defending players in front of goal, number of attacking players nearby, etc..); similar to this
๐Ÿšง Pressing effectiveness (e.g. average distance of defending players from ball, area of bounding box formed by defending team, time for n nearest players to close gap after possession change, etc..)

Machine learning stuff

๐Ÿ’ก Infer individual ball possession
๐Ÿ’ก Infer shot and pass events
๐Ÿ’ก Modelling optimal positioning with deep imitation learning
๐Ÿ’ก Automated formation discovery

Misc.

๐Ÿšง Add option Juego de Posicion pitch markings
๐Ÿ’ก Make a geom_pitch layer as a less monolithic plotting function
๐Ÿšง New system for working across multiple data sources (i.e. transform StatsBomb / Opta / whatever data so they can be used in a single function for xG plots / passmaps / whatever)
๐Ÿšง Add to list of true pitch dimensions

theme argument with light, dark, and grass options added to soccerShotmap function.

Will add to soccerPitch function and its dependants soon.

Hi mate. Maybe you could be interested to add some code from "soccerAnimate" function that i just created in order to work with Stats insights tracking data.
Here: https://github.com/Bustami/DatoFutbol/tree/master/TrackingDataTest
Cheers