Closed vennanalysis closed 1 year ago
Unfortunately this function only gets league based data, and excludes a player's international stats...
I will leave this open as a possible new function/addition to the existing fb_player_season_stats
function.
Trying to pull national team stats using this function - see code example below. Both lines return the club level stats. Let me know if there is another function/method for this
fb_player_season_stats("https://fbref.com/en/players/abb3bb95/Luuk-de-Jong", stat_type = 'playing_time') fb_player_season_stats("https://fbref.com/en/players/abb3bb95/Luuk-de-Jong-National-Team-Stats", stat_type = 'playing_time')
Thanks