View source: R/fb_player_match_logs.R
fb_player_match_logs | R Documentation |
Returns all match logs for a selected player, season and stat type
fb_player_match_logs(player_url, season_end_year, stat_type, time_pause = 3)
player_url |
the URL of the player (can come from fb_player_urls()) |
season_end_year |
the year the season(s) concludes |
stat_type |
the type of statistic required |
time_pause |
the wait time (in seconds) between page loads The statistic type options (stat_type) include: "summary", "keepers", "passing", "passing_types", "gca", "defense", "possession", "misc" |
returns a dataframe of a player's match logs for a season
try({ fb_player_match_logs("https://fbref.com/en/players/3bb7b8b4/Ederson", season_end_year = 2021, stat_type = 'summary') })
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.