fb_player_match_logs {worldfootballR}R 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')
})


[Package worldfootballR version 0.6.2 Index]