get_team_match_results | R Documentation |
Returns all game results for a team in a given season
get_team_match_results(team_url, time_pause = 3)
team_url |
the URL for the team season |
time_pause |
the wait time (in seconds) between page loads |
returns a dataframe with the results of all games played by the selected team(s)
## Not run: try({ # for single teams: man_city_url <- "https://fbref.com/en/squads/b8fd03ef/Manchester-City-Stats" get_team_match_results(man_city_url) }) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.