Other packages > Find by keyword >

ggfootball  

Plotting Football Matches Expected Goals (xG) Stats with 'Understat' Data
View on CRAN: Click here


Download and install ggfootball package within the R console
Install from CRAN:
install.packages("ggfootball")

Install from Github:
library("remotes")
install_github("cran/ggfootball")

Install by package version:
library("remotes")
install_version("ggfootball", "0.3.0")



Attach the package and use:
library("ggfootball")
Maintained by
Aymen Nasri
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2025-01-30
Latest Update: 2025-03-22
Description:
Scrapes shots data from 'Understat' <https://understat.com/> and visualizes it using interactive plots: - A detailed shot map displaying the location, type, and xG value of shots taken by both teams. - An xG timeline chart showing the cumulative xG for each team over time, annotated with the details of scored goals.
How to cite:
Aymen Nasri (2025). ggfootball: Plotting Football Matches Expected Goals (xG) Stats with 'Understat' Data. R package version 0.3.0, https://cran.r-project.org/web/packages/ggfootball. Accessed 13 Jun. 2026.
Previous versions and publish date:
0.1.0 (2025-01-30 19:40), 0.2.0 (2025-01-31 16:20), 0.2.1 (2025-03-23 00:00), 0.2.2 (2026-01-23 10:40)
Other packages that cited ggfootball R package
View ggfootball citation profile
Other R packages that ggfootball depends, imports, suggests or enhances
Complete documentation for ggfootball
Functions, R codes and Examples using the ggfootball R package
Full ggfootball package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

TEQR  
Target Equivalence Range Design
The TEQR package contains software to calculate the operating characteristics for the TEQR and the A ...
Download / Learn more Package Citations See dependency  
igraphtosonia  
Convert iGraph graps to SoNIA .son files
This program facilitates exporting igraph graphs to the SoNIA file format ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
aws.lambda  
AWS Lambda Client Package
A simple client package for the Amazon Web Services ('AWS') Lambda API ...
Download / Learn more Package Citations See dependency  

27,457

R Packages

233,548

Dependencies

73,054

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA