Returns shooting locations for all matches played in the selected league season from Understat.com

understat_league_season_shots(league, season_start_year)

Arguments

league

the avaliable leagues in Understat as outlined below

season_start_year

the year the season started

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 season

Examples

if (FALSE) { understat_league_season_shots(league = "EPL", season_start_year = 2020) }