get_match_summary: Get match summary

get_match_summaryR 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)


worldfootballR documentation built on Nov. 26, 2022, 9:05 a.m.