load_understat_league_shots: Load Understat league shot locations

View source: R/load_understat.R

load_understat_league_shotsR Documentation

Load Understat league shot locations

Description

Loading version of understat_league_season_shots, but for all seasons Returns shooting locations for all matches played in the selected league

Usage

load_understat_league_shots(league)

Arguments

league

the available leagues in Understat as outlined below

The leagues currently available for Understat are: "EPL", "La liga", "Bundesliga", "Serie A", "Ligue 1", "RFPL"

Value

returns a dataframe of shooting locations for a selected league

Examples

## Not run: 
try({
df <- load_understat_league_shots(league="Serie A")
})

## End(Not run)

worldfootballR documentation built on Aug. 24, 2022, 9:05 a.m.