Returns all match statistics for a team(s) in a given season
Arguments
- team_urls
the URL(s) of the teams(s) (can come from fb_teams_urls())
- stat_type
the type of statistic required
- time_pause
the wait time (in seconds) between page loads
The statistic type options (stat_type) include:
"shooting", "keeper", "passing", "passing_types", "gca", "defense", "misc"
Value
returns a dataframe with the selected stat outputs of all games played by the selected team(s)
Examples
if (FALSE) {
try({
# for single teams:
man_city_url <- "https://fbref.com/en/squads/b8fd03ef/Manchester-City-Stats"
fb_team_match_log_stats(team_urls = man_city_url, stat_type = "passing")
})
}