get_team_roster: Access the roster for a team, season, and player type

View source: R/TeamOld.R

get_team_rosterR Documentation

Access the roster for a team, season, and player type

Description

get_team_roster() is deprecated. Use roster() instead.

Usage

get_team_roster(team = "NJD", season = "current", player_type = "forwards")

Arguments

team

three-letter code (e.g., 'COL'); see teams() for reference

season

integer in YYYYYYYY (e.g., 20242025); see seasons() for reference

player_type

character of 'forwards', 'defensemen', or 'goalies'

Value

data.frame with one row per player


nhlscraper documentation built on Dec. 17, 2025, 5:10 p.m.