get_match_summary {worldfootballR} | R Documentation |
Get match summary
Description
Returns match summary data for selected match URLs, including goals, subs and cards
Usage
get_match_summary(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 with the match events (goals, cards, subs) for selected matches
Examples
## Not run:
try({
match <- get_match_urls(country = "AUS", gender = "F", season_end_year = 2021, tier = "1st")[1]
df <- get_match_summary(match_url = match)
})
## End(Not run)
[Package worldfootballR version 0.6.2 Index]