load_understat_league_shots {worldfootballR} | R 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)
[Package worldfootballR version 0.6.2 Index]