Returns the scouting report for a selected player
Arguments
- player_url
the URL of the player (can come from fb_player_urls())
- pos_versus
either "primary" or "secondary" as fbref offer comparisons against multiple positions
- league_comp_name
the league or competition name(s) you want the scouting report for. Defaults to all
- time_pause
the wait time (in seconds) between page loads
Value
returns a dataframe of a player's full scouting information for all seasons available on FBref
Examples
if (FALSE) { # \dontrun{
try({
fb_player_scouting_report(player_url = "https://fbref.com/en/players/d70ce98e/Lionel-Messi",
pos_versus = "primary")
# to filter for the last 365 days:
fb_player_scouting_report(player_url = "https://fbref.com/en/players/d70ce98e/Lionel-Messi",
pos_versus = "primary", league_comp_name = "Last 365 Days Men's Big 5 Leagues, UCL, UEL")
# to get secondary positions
fb_player_scouting_report(player_url = "https://fbref.com/en/players/d70ce98e/Lionel-Messi",
pos_versus = "secondary")
# for the last 365 days and also the 2022 WC
fb_player_scouting_report(player_url = "https://fbref.com/en/players/d70ce98e/Lionel-Messi",
pos_versus = "secondary",
league_comp_name = c("Last 365 Days Men's Big 5 Leagues, UCL, UEL", "2022 World Cup"))
})
} # }