get_team_schedule | R Documentation |
get_team_schedule()
retrieves information on each game for a given set of team
and season
, including but not limited to their ID, season, type, start date and time, and home and visiting teams' IDs and scores. Access get_teams()
for team
and get_team_seasons()
for season
references.
get_team_schedule(team = "BOS", season = get_season_now()$seasonId)
team |
string 3-letter Code |
season |
integer in YYYYYYYY |
tibble with one row per game
COL_schedule_20242025 <- get_team_schedule(team='COL', season=20242025)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.