Open JoGall opened 6 years ago
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
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