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 15 Mar. 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

hablar  
Non-Astonishing Results in R
Simple tools for converting columns to new data types. Intuitive functions for columns with missing ...
Download / Learn more Package Citations See dependency  
ATAforecasting  
Automatic Time Series Analysis and Forecasting using the Ata Method
The Ata method (Yapar et al. (2019) ), an alternative to exponential smoo ...
Download / Learn more Package Citations See dependency  
shinyNotes  
Shiny Module for Taking Free-Form Notes
An enterprise-targeted scalable and customizable 'shiny' module providing an easy way to incorporate ...
Download / Learn more Package Citations See dependency  
ramify  
Additional Matrix Functionality
Additional matrix functionality for R including: (1) wrappers for the base matrix function that all ...
Download / Learn more Package Citations See dependency  
datana  
Datasets and Functions to Accompany Analisis De Datos Con R
Datasets and Functions to Accompany Salas-Eljatib (2021, ISBN: 9789566086109) "Analisis de datos co ...
Download / Learn more Package Citations See dependency  
seas  
Seasonal Analysis and Graphics, Especially for Climatology
Capable of deriving seasonal statistics, such as "normals", and analysis of seasonal data, such as ...
Download / Learn more Package Citations See dependency  

26,352

R Packages

225,784

Dependencies

70,526

Author Associations

26,294

Publication Badges

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