GetGameIdRange: Find game ids for a specific team and date range

Description Usage Arguments Value Examples

View source: R/db_retrieval.R

Description

Gets a list of game ids for team_id in a specific date range, inclusive

Usage

1
GetGameIdRange(team_id, start_date, end_date)

Arguments

team_id

Int, team ID number

start_date

Starting date of the games, inclusive. Format: "yyyy-mm-dd"

end_date

Ending date of the games, inclusive. Format: "yyyy-mm-dd"

Value

List of ints, each element is a game ID in selected range

Examples

1
GetGameIdRange(10, "2019-09-30", "2019-12-16")

nhlscrape documentation built on March 26, 2020, 5:29 p.m.