nhl_teams_stats {nhlapi} | R Documentation |
Get team statistics per seasons
Description
Get team statistics per seasons
Usage
nhl_teams_stats(teamIds = NULL, seasons = NULL)
Arguments
teamIds |
|
seasons |
Alternatively, also accepts Some API endpoints, notably |
Value
data.frame
, with seasons statistics for the selected
team(s), one row per each team and season combination.
Examples
## Not run:
# All teams, current seasons
nhl_teams_stats()
# 2 teams, 3 seasons
nhl_teams_stats(1:2, c("20052006", "20062007", "20072008"))
## End(Not run)