Skip to contents

Returns data frame of selected statistics for seasons of the big 5 Euro leagues, for either whole team or individual players. Multiple seasons can be passed to the function, but only one `stat_type` can be selected

Usage

fb_big5_advanced_season_stats(
  season_end_year,
  stat_type,
  team_or_player,
  time_pause = 3
)

Arguments

season_end_year

the year(s) the season concludes

stat_type

the type of team statistics the user requires

team_or_player

result either summarised for each team, or individual players

time_pause

the wait time (in seconds) between page loads

The statistic type options (stat_type) include:

"standard", "shooting", "passing", "passing_types", "gca", "defense", "possession", "playing_time", "misc", "keepers", "keepers_adv"

Value

returns a dataframe of a selected team or player statistic type for a selected season(s)

Examples

if (FALSE) { # \dontrun{
try({
fb_big5_advanced_season_stats(season_end_year=2021,stat_type="possession",team_or_player="player")
})
} # }