Learn R Programming

openWAR (version 0.2.2.9001)

getGameIds: getGameIds

Description

Retrieves MLBAM gameIds for a specified date

Usage

getGameIds(date = Sys.Date())

Arguments

date

A date in 'yyyy-mm-dd' format

Value

A vector of gameIds

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.

Examples

Run this code
# NOT RUN {
getGameIds()
getGameIds('2008-05-14')
# }

Run the code above in your browser using DataLab