View source: R/fb_team_goal_logs.R
fb_team_goal_logs | R Documentation |
Returns the team's season goal logs
fb_team_goal_logs(team_urls, time_pause = 3, for_or_against = "for")
team_urls |
the URL(s) of the team(s) (can come from fb_teams_urls()) |
time_pause |
the wait time (in seconds) between page loads |
for_or_against |
select whether to return data of goals "for" (the default), goals "against", or "both" |
returns a dataframe of the team's goals scored and conceded in the season
## Not run: try({ # for single teams: man_city_url <- "https://fbref.com/en/squads/b8fd03ef/Manchester-City-Stats" fb_team_goal_logs(team_urls = man_city_url, for_or_against = "for") }) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.