get_linescore: Get line score for specified game ID

Description Usage Arguments Value Examples

Description

Get line score for specified game ID

Usage

1
get_linescore(gameID = NULL)

Arguments

gameID

A ten digit game ID. The first 4 digits identify the season of the game (ie. 2017 for the 2017-2018 season). The next 2 digits give the type of game, where 01 = preseason, 02 = regular season, 03 = playoffs, 04 = all-star. The final 4 digits identify the specific game number. For regular season and preseason games, this ranges from 0001 to the number of games played. (1271 for seasons with 31 teams (2017 and onwards) and 1230 for seasons with 30 teams). For playoff games, the 2nd digit of the specific number gives the round of the playoffs, the 3rd digit specifies the matchup, and the 4th digit specifies the game (out of 7).

Value

The line score for the specified gameID. Returned as a list.

Examples

1
get_linescore(gameID = 2017030111)

henrypoole/RNHLStats documentation built on May 12, 2019, 10:50 a.m.