nhl_teams_shedule_previous: Get details for the teams' previous game

Description Usage Arguments Value Examples

View source: R/nhl_teams.R

Description

Get details for the teams' previous 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 previousGameSchedule that contain data on the teams' previous game. One row per team.

Examples

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

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

## End(Not run)

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