Description Usage Arguments Examples
View source: R/nhl_get_player_stats.R
Function to return a list of all players and goals on specified teams in a specified season, along with #' details and summary statistics.
1 | nhl_get_players(teams = NULL, season = get_this_season())
|
teams |
a vector of team identifiers, either name, id, or abbreviation. |
season |
season (e.g. 20052006). defaults to current season. |
1 2 3 4 5 6 7 8 9 | buf_and_nyi <- nhl_get_players(teams = c('buf', 'nyi'))
head(buf_and_nyi$goalies)
head(buf_and_nyi$players)
buf_and_nyi_06 <- nhl_get_players(teams = c('buf', 'nyi'), season = 20062007)
head(buf_and_nyi_06$goalies)
head(buf_and_nyi_06$players)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.