nhl_teams_shedule_next: Get details for the teams' upcoming game

Description Usage Arguments Value Examples

View source: R/nhl_teams.R

Description

Get details for the teams' upcoming game

Usage

1

Arguments

teamIds

integer(), ids of the teams or NULL (default) for all teams. As of end of 2019, the valid team ids seem to be in the 1:54 range.

Value

data.frame, with elements with names starting with nextGameSchedule that contain data on the teams' upcoming game. One row per team.

Examples

1
2
3
4
5
6
7
8
 ## Not run: 
  # Next game for all teams
  nhl_teams_shedule_next()

  # Next game for selected teams
  nhl_teams_shedule_next(c(1,3,5))

## End(Not run)

nhlapi documentation built on Feb. 20, 2021, 9:06 a.m.