Description Usage Arguments Examples
View source: R/nhl_get_team_stats.R
Function to return stats for a team and a season
1 | nhl_get_team_stats(team, season = get_this_season())
|
team |
team identifier, either name, id, or abbreviation. |
season |
vector of seasons (e.g. 20052006). defaults to current season. |
1 2 3 4 5 6 7 8 | buf_06 <- nhl_get_team_stats(team = 'Buffalo Sabres', season = 20062007)
head(buf_06$stats)
head(buf_06$ranks)
seasons <- paste0(seq(1990, 2018, 1), seq(1991, 2019, 1))
buf_all <- nhl_get_team_stats(team = 'Buffalo Sabres', season = seasons)
buf_all$ranks
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.