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 04 Oct. 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

plotbb  
Grammar of Graphics for 'base' Plot
Proof of concept for implementing grammar of graphics using base plot. The bbplot() function initial ...
Download / Learn more Package Citations See dependency  
skilljaR  
Connect to Your 'Skilljar' Data
Functions that simplify calls to the 'Skilljar' API. See < ...
Download / Learn more Package Citations See dependency  
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  
rWishart  
Random Wishart Matrix Generation
An expansion of R's 'stats' random wishart matrix generation. This package allows the user to gener ...
Download / Learn more Package Citations See dependency  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,906

Publication Badges

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