get_match_shooting {worldfootballR} | R Documentation |
Get match shooting event data
Description
Returns detailed player shooting data for home and away teams for a selected match(es)
Usage
get_match_shooting(match_url, time_pause = 3)
Arguments
match_url |
the fbref.com URL for the required match |
time_pause |
the wait time (in seconds) between page loads |
Value
returns a dataframe
Examples
## Not run:
try({
match <- "https://fbref.com/en/matches/bf52349b/Fulham-Arsenal-September-12-2020-Premier-League"
df <- get_match_shooting(match_url = match)
})
## End(Not run)
[Package worldfootballR version 0.6.2 Index]