Returns all game results for a team in a given season

get_team_match_results(team_url)

Arguments

team_url

the URL for the team season

Value

returns a dataframe with the results of all games played by the selected team(s)

Examples

if (FALSE) { # for single teams: man_city_url <- "https://fbref.com/en/squads/b8fd03ef/Manchester-City-Stats" get_team_match_results(man_city_url) # get all team URLs for a league team_urls <- fb_teams_urls("https://fbref.com/en/comps/9/Premier-League-Stats") get_team_match_results(team_url = team_urls) }