getGameIds: getGameIds

Description Usage Arguments Details Value Examples

View source: R/getData.R

Description

Retrieves MLBAM gameIds for a specified date

Usage

1

Arguments

date

A date in 'yyyy-mm-dd' format

Details

Downloads information for a given day from the MLBAM website and retrieves a list of valid gameIds. This function is used internally in the function getData.

Value

A vector of gameIds

Examples

1
2
getGameIds()
getGameIds('2008-05-14')

frogman141/openWAR documentation built on Dec. 20, 2021, 8:52 a.m.