Description Usage Arguments Details Value Examples
Each gameId corresponds to one object of class gameday
1 |
gameId |
A valid MLBAM gameId |
... |
currently ignored |
A gameday object is a list containing 4 elements: gameId, base, url, and ds. gameId is the
unique identifier for a game, base contains the base URL corresponding the the gameId, url contains the sub urls pointing to different
data sets that are combined together to create an object of class GameDayPlays containing play-by-play data. The ds slot of the list
contains the GameDayPlays object of play-by-play data.
An object of class gameday, which consists of a list containing
gameId |
The ID of the game (e.g. 'gid_2012_08_12_atlmlb_nynmlb_1') |
base |
The base URL for the game (e.g. 'http://gd2.mlb.com/components/game/mlb/year_2012/month_08/day_12/') |
url |
A character vector containing the names of the XML files downloaded from the GameDay server |
ds |
The |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.