Returns the historical season stats for a selected player(s) and stat type
fb_player_season_stats(player_url, stat_type, time_pause = 2)
the URL(s) of the player(s) (can come from fb_player_urls())
the type of statistic required
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", "keeper", "keeper_adv"
returns a dataframe of a player's historical season stats
if (FALSE) {
fb_player_season_stats("https://fbref.com/en/players/3bb7b8b4/Ederson",
stat_type = 'standard')
multiple_playing_time <- fb_player_season_stats(
player_url = c("https://fbref.com/en/players/d70ce98e/Lionel-Messi",
"https://fbref.com/en/players/dea698d9/Cristiano-Ronaldo"),
stat_type = "playing_time")
}