fb_player_match_logs: Get fbref Player Match Logs

View source: R/fb_player_match_logs.R

fb_player_match_logsR Documentation

Get fbref Player Match Logs

Description

Returns all match logs for a selected player, season and stat type

Usage

fb_player_match_logs(player_url, season_end_year, stat_type, time_pause = 3)

Arguments

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"

Value

returns a dataframe of a player's match logs for a season

Examples


try({
fb_player_match_logs("https://fbref.com/en/players/3bb7b8b4/Ederson",
season_end_year = 2021, stat_type = 'summary')
})


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