get_season_team_stats | R Documentation |
Returns different team season statistics results for a given league season and stat type
get_season_team_stats( country, gender, season_end_year, tier, stat_type, time_pause = 3 )
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" |
returns a dataframe of a selected team statistic type for a selected league season
## Not run: try({ get_season_team_stats("ITA", "M", 2021, "1st", "defense") }) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.