load_fb_advanced_match_stats | R Documentation |
Loading version of fb_advanced_match_stats
. Only some leagues available.
load_fb_advanced_match_stats(
country,
gender,
tier,
stat_type,
team_or_player,
season_end_year = NA
)
country |
the three character country code |
gender |
gender of competition, either "M" or "F" |
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 |
team_or_player |
result either summarised for each team, or individual players |
season_end_year |
the year(s) the season concludes |
returns a dataframe
try({
load_fb_advanced_match_stats(
country = "ENG",
gender = "M",
tier = "1st",
stat_type = "summary",
team_or_player = "player"
)
load_fb_advanced_match_stats(
country = c("ITA", "ESP"),
gender = "M",
tier = "1st",
season_end_year = 2023,
stat_type = "defense",
team_or_player = "player"
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.