soccermatics
R package
Sports:
Motorsport, American Football, Soccer
Language:
R
License:
GPL (>=3.0
Latest version:
0.9.5
Last commit:
Aug 2021
Contributors:
2
Provides tools to visualise x,y-coordinates of soccer players and event data (e.g. passes, shots). Uses ggplot to draw soccer pitch and overplot expected goal maps, pass maps, average player positions, player heatmaps, individual player paths, player flow fields, and more.
Details
soccergraphR
R package
Sports:
Motorsport, Soccer
Language:
R
License:
GLP-2
Latest version:
0.1.0
Last commit:
Jul 2019
Contributors:
1
A partir de los ficheros proporcionados por OPTA en formato XML permite elaborar anA!lisis y visualizaciones de grafos de pases, radar de pases, corners, tiros y mapas de calor de desde donde pasan y adonde pasan
Details
socceraction
Python package
Sports:
Soccer
Language:
Python
License:
MIT
Latest version:
1.5.3
Last commit:
Feb 2025
Contributors:
17
Convert soccer event stream data to the SPADL format and value on-the-ball player actions
Details
mplsoccer
Python package
Sports:
Soccer
Language:
Python
License:
MIT
Latest version:
1.4.0
Last commit:
Apr 2025
Contributors:
18
Football pitch plotting library for matplotlib
Details
CodaBonito
R package
Sports:
Soccer
Language:
R
License:
Use for no
Latest version:
0.1.0
Last commit:
Apr 2023
Contributors:
1
Football / soccer related visualisations and analysis
Details
soccer_ggpl..
R repository
Sports:
Motorsport, American Football, Soccer
Language:
R
License:
AGPL-3.0
Latest version:
Last commit:
Jun 2024
Contributors:
1
Soccer/football analytics blog posts & data viz from the World Cup, Premier League, Copa America, and beyond. Using ggplot2, ggsoccer, & more. (Est. June 2018) ****Please look at the README for best version of the code!****
Details
mlbgameday
R package
Sports:
Motorsport, Baseball
Language:
R
License:
MIT
Latest version:
0.2.1
Last commit:
Apr 2019
Contributors:
2
Multi-core processing of data from Major League Baseball Advanced Media <http://gd2.mlb.com/components/game/mlb/>. Additional tools to parallel process large data sets and write them to a database.
Details
GeomMLBStad..
R package
Sports:
Baseball
Language:
R
License:
MIT
Latest version:
0.0.0.9000
Last commit:
Sep 2023
Contributors:
1
Draw Major Leagure Stadiums in the ggplot2 framework
Details
pitchRx
R package
Sports:
Baseball
Language:
R
License:
MIT
Latest version:
1.8.5
Last commit:
Aug 2023
Contributors:
3
With 'pitchRx', one can easily obtain Major League Baseball Advanced Media's 'Gameday' data (as well as store it in a remote database). The 'Gameday' website hosts a wealth of data in XML format, but perhaps most interesting is 'pitchfx'. Among other things, 'pitchfx' data can be used to recreate a baseball's flight path from a pitcher's hand to home plate. With pitchRx, one can easily create animations and interactive 3D 'scatterplots' of the baseball's flight path. 'pitchfx' data is also commonly used to generate a static plot of baseball locations at the moment they cross home plate. These plots, sometimes called strike-zone plots, can also refer to a plot of event probabilities over the same region. 'pitchRx' provides an easy and robust way to generate strike-zone plots using the 'ggplot2' package.
Details
retro
R package
Sports:
Baseball
Language:
R
License:
CC0
Latest version:
0.0.0.9004
Last commit:
Jul 2019
Contributors:
1
Building an SQL database of baseball play-by-play data from Retrosheet requires an ETL process and special tools. This package automates and streamlines that process.
Details
wncaahoopR
R package
Sports:
Basketball
Language:
R
License:
MIT
Latest version:
0.1.0
Last commit:
Oct 2021
Contributors:
2
`wncaahoopR` is an R package for working with women's NCAA Basketball play-by-play (and other) data, primarily by scraping from ESPN, but in a different way than the `ncaahoopR` package from Luke Benz (lbenz730). This package has a single function for scraping data and then makes use of the resulting `pbp` object within R to produce charts similar to those in `ncaahoopR`.
Details
cricketr
R package
Sports:
Cricket
Language:
R
License:
MIT
Latest version:
0.0.26
Last commit:
Mar 2021
Contributors:
1
Tools for analyzing performances of cricketers based on stats in ESPN Cricinfo Statsguru. The toolset can be used for analysis of Tests,ODIs and Twenty20 matches of both batsmen and bowlers. The package can also be used to analyze team performances.
Details
ggsoccer
R package
Sports:
Soccer
Language:
R
License:
MIT
Latest version:
0.2.0
Last commit:
Oct 2024
Contributors:
5
The 'ggplot2' package provides a powerful set of tools for visualising and investigating data. The 'ggsoccer' package provides a set of functions for elegantly displaying and exploring soccer event data with 'ggplot2'. Providing extensible layers and themes, it is designed to work smoothly with a variety of popular sports data providers.
Details
FC.rSTATS
R package
Sports:
Soccer
Language:
R
License:
3.5.0
Latest version:
1.0
Last commit:
Jul 2019
Contributors:
1
A package with various functions that help people working with OPTA and ChyronHego data.
Details
LaurieOnTra..
Python repository
Sports:
Soccer
Language:
Python
License:
MIT
Latest version:
Last commit:
Jun 2021
Contributors:
2
Laurie's code for Metrica tracking data.
Details
L2M
R tutorial
Sports:
Basketball
Language:
R
License:
MIT
Latest version:
Last commit:
Apr 2025
Contributors:
1
Last two minute report data from the NBA
Details
soccerAnima..
R package
Sports:
Soccer
Language:
R
License:
GPL-2
Latest version:
0.1.0
Last commit:
Mar 2024
Contributors:
1
This packages allows you to create 2D animations of soccer tracking data in addition to do some player calculations and team possession stats.
Details
Basketball_..
Python tutorial
Sports:
Basketball
Language:
Python
License:
Latest version:
Last commit:
Jan 2024
Contributors:
1
Repository which contains various scripts and work with various basketball statistics
Details
soccerplots
Python package
Sports:
Soccer
Language:
Python
License:
MIT Licens
Latest version:
1.0.0
Last commit:
Apr 2021
Contributors:
1
A Python package for data visualization for football analytics
Details
statsguRu
R package
Sports:
Cricket
Language:
R
License:
MIT
Latest version:
0.1.2
Last commit:
Jul 2021
Contributors:
1
Use this package to scrap Test Matches, One Day Internationals, Twenty-20 Internationals data of a player from ESPNCricinfo's Statsguru (<http://stats.espncricinfo.com/ci/engine/stats/index.html>) and then visualize their batting, bowling and fielding performances in the form of charts and graphs.
Details
ptplot
Python package
Sports:
American Football
Language:
Python
License:
GNU Genera
Latest version:
0.3.1
Last commit:
Sep 2021
Contributors:
1
Make beautiful plots of player tracking data
Details
gamezoneR
R package
Sports:
Basketball
Language:
R
License:
Apache Lic
Latest version:
0.1.1
Last commit:
Apr 2023
Contributors:
1
An R package for working with NCAA Men's Basketball play-by-play data
Details
sportyR
R package
Sports:
Soccer, Basketball, Baseball, American Football, Ice Hockey
Language:
R
License:
GPL (≥ 3)
Latest version:
2.2.2
Last commit:
Feb 2025
Contributors:
4
Create scaled 'ggplot' representations of playing surfaces. Playing surfaces are drawn pursuant to rule-book specifications. This package should be used as a baseline plot for displaying any type of tracking data.
Details
ggshakeR
R package
Sports:
Soccer
Language:
R
License:
MIT
Latest version:
0.2.0.9002
Last commit:
Aug 2023
Contributors:
5
ggshakeR is an analysis and visualization R package that works with publically available soccer data. The datasets (for now) include FBref, StatsBomb, and understat.
Details
chessR
R package
Sports:
Chess, American Football
Language:
R
License:
GPL-3
Latest version:
1.5.5
Last commit:
Oct 2024
Contributors:
4
A set of functions to enable users to extract chess game data from popular chess sites, including 'Lichess'<https://lichess.org/> and 'Chess.com' <https://www.chess.com/> and then perform analysis on that game data.
Details
nflplotR
R package
Sports:
American Football
Language:
R
License:
MIT
Latest version:
1.4.0
Last commit:
Mar 2025
Contributors:
3
A set of functions to visualize National Football League analysis in 'ggplot2' plots and 'gt' tables.
Details
fastf1
Python package
Sports:
Motorsport
Language:
Python
License:
MIT Licens
Latest version:
3.5.3
Last commit:
Apr 2025
Contributors:
30
Python package for accessing and analyzing Formula 1 results, schedules, timing data and telemetry.
Details
euroleague-..
Python tutorial
Sports:
Basketball
Language:
Python
License:
Latest version:
Last commit:
Jan 2025
Contributors:
1
Plot functions and example of data extraction for short charts from Euroleague basketball data
Details
basketball-..
Python repository
Sports:
Basketball
Language:
Python
License:
Latest version:
Last commit:
Nov 2020
Contributors:
1
Data analytics and modelling on basketball games
Details
mplbasketba..
Python package
Sports:
Soccer, Basketball
Language:
Python
License:
MIT
Latest version:
1.0.0
Last commit:
Apr 2025
Contributors:
4
A Python plotting library for visualization of basketball data.
Details