Learn R Programming

nhlscrape (version 0.1.3)

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

Description

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

Usage

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

Run this code
# NOT RUN {
GetGameIdRange(10, "2019-09-30", "2019-12-16")
# }

Run the code above in your browser using DataLab