fb_match_lineups: Get FBref match lineups

View source: R/get_match_lineups.R

fb_match_lineupsR Documentation

Get FBref match lineups

Description

Returns lineups for home and away teams for a selected match Replaces the deprecated function get_match_lineups

Usage

fb_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 <- fb_match_urls(country = "AUS", gender = "F", season_end_year = 2021, tier = "1st")[1]
df <- fb_match_lineups(match_url = match)
})

## End(Not run)

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