fb_team_match_results: Get FBref team match results

View source: R/team_match_results.R

fb_team_match_resultsR Documentation

Get FBref team match results

Description

Returns all game results for a team in a given season Replaces the deprecated function get_team_match_results

Usage

fb_team_match_results(team_url, time_pause = 3)

Arguments

team_url

the URL for the team season

time_pause

the wait time (in seconds) between page loads

Value

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

Examples

## Not run: 
try({
# for single teams:
man_city_url <- "https://fbref.com/en/squads/b8fd03ef/Manchester-City-Stats"
fb_team_match_results(man_city_url)
})

## End(Not run)

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