load_fb_big5_advanced_season_stats: Load Big 5 Euro League Season Stats

View source: R/load_fb.R

load_fb_big5_advanced_season_statsR Documentation

Load Big 5 Euro League Season Stats

Description

Loading version of fb_big5_advanced_season_stats 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

load_fb_big5_advanced_season_stats(
  season_end_year = NA,
  stat_type,
  team_or_player
)

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

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


try({
df <- load_fb_big5_advanced_season_stats(
season_end_year = c(2018:2022), stat_type = "defense", team_or_player = "player"
)

df <- load_fb_big5_advanced_season_stats(
season_end_year = 2022, stat_type = "defense", team_or_player = "player"
)
})


worldfootballR documentation built on Nov. 26, 2022, 9:05 a.m.