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 30 Jul. 2026.
Previous versions and publish date:
(2026-07-09 07:43), 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

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
trajectories  
Classes and Methods for Trajectory Data
Classes and methods for trajectory data, with support for nesting individual Track objects in track ...
Download / Learn more Package Citations See dependency  
extremefit  
Estimation of Extreme Conditional Quantiles and Probabilities
Extreme value theory, nonparametric kernel estimation, tail conditional probabilities, extreme cond ...
Download / Learn more Package Citations See dependency  
RolWinMulCor  
Subroutines to Estimate Rolling Window Multiple Correlation
Rolling Window Multiple Correlation ('RolWinMulCor') estimates the rolling (running) window correlat ...
Download / Learn more Package Citations See dependency  
radiant.data  
Data Menu for Radiant: Business Analytics using R and Shiny
The Radiant Data menu includes interfaces for loading, saving, viewing, visualizing, summarizing, t ...
Download / Learn more Package Citations See dependency  
SRCS  
Statistical Ranking Color Scheme for Multiple Pairwise Comparisons
Implementation of the SRCS method for a color-based visualization of the results of multiple pairwis ...
Download / Learn more Package Citations See dependency  

27,987

R Packages

239,283

Dependencies

74,234

Author Associations

27,988

Publication Badges

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