Returns different team season statistics results for a given league season and stat type Replaces the deprecated function get_season_team_stats
Arguments
- country
the three character country code for all countries
- gender
gender of competition, either "M", "F" or both
- season_end_year
the year the season(s) concludes
- tier
the tier of the league, ie '1st' for the EPL or '2nd' for the Championship and so on
- stat_type
the type of team statistics the user requires
- time_pause
the wait time (in seconds) between page loads
The statistic type options (stat_type) include:
"league_table", "league_table_home_away", "standard", "keeper", "keeper_adv", "shooting", "passing", "passing_types", "goal_shot_creation", "defense" , "possession", "playing_time", "misc"
Examples
if (FALSE) { # \dontrun{
try({
fb_season_team_stats("ITA", "M", 2021, "1st", "defense")
})
} # }