get_match_lineups {worldfootballR} | R Documentation |
Get match lineups
Description
Returns lineups for home and away teams for a selected match
Usage
get_match_lineups(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 team lineups for a selected match
Examples
## Not run:
try({
match <- get_match_urls(country = "AUS", gender = "F", season_end_year = 2021, tier = "1st")[1]
df <- get_match_lineups(match_url = match)
})
## End(Not run)
[Package worldfootballR version 0.6.2 Index]