Return a data frame of a player's info
Usage
fb_player_info(player_urls, time_pause = 3)
Arguments
- player_urls
the URL(s) of the player(s)
- time_pause
the wait time (in seconds) between page loads
Examples
if (FALSE) { # \dontrun{
try({
player_urls <- c(
"https://fbref.com/en/players/d70ce98e/", # Messi
"https://fbref.com/en/players/3515d404/" # JWP
)
fb_player_info(player_urls)
})
} # }