Visualise tracking and event data from soccer matches

soccerFlipDirection | Flips x,y-coordinates horizontally in one half to account for... |

soccerHeatmap | Draw a heatmap on a soccer pitch. |

soccermatics-deprecated | Plot a full soccer pitch |

soccerPassmap | Draw a passing network using StatsBomb data |

soccerPath | Draw a path of player trajectory on a soccer pitch. |

soccerPitch | Plot a full soccer pitch |

soccerPitchFG | Helper function to draw soccer pitch outlines over an... |

soccerPitchHalf | Draws a vertical half soccer pitch for the purpose of... |

soccerPositionMap | Plot average player position |

soccerResample | Resample the frequency of x,y,t- time series with linear... |

soccerShortenName | Extract player surname |

soccerShotmap | Draw an individual, team, or two team shotmap using StatsBomb... |

soccerTransform | Normalises x,y-coordinates to metres units for use with... |

soccerVelocity | Compute instantaneous distance, speed and direction from... |

soccerxGTimeline | Draw a timeline showing cumulative expected goals (xG) over... |

statsbomb | Sample StatsBomb event data containing the x,y-locations and... |

tromso | x,y-coordinates of 11 soccer players over 12000 frames each |

tromso_extra | x,y-coordinates and additional positional information on 11... |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.