Skip to contents

Get roster statistics by team, season, game-type, and player-type

Usage

get_team_roster_statistics(
  team = "BOS",
  season = get_season_now()$seasonId,
  game_type = 2,
  player_type = "skaters"
)

Arguments

team

string 3-letter team code

season

integer Season in YYYYYYYY

game_type

integer Game-type where 2=regular and 3=playoffs

player_type

string Player-type of 'skaters' or 'goalies'

Value

tibble with one row per player

Examples

regular_COL_goalies_statistics_20242025 <- get_team_roster_statistics(
  team='COL',
  season=20242025,
  game_type=2,
  player_type='goalies'
)