gameday: gameday

Description Usage Arguments Details Value Author(s) Examples

Description

Convenience class for dealing with MLBAM GameDay files

Usage

1
  gameday(gameId = "gid_2012_08_12_atlmlb_nynmlb_1", ...)

Arguments

gameId

A valid MLBAM gameId

Details

Each gameId corresponds to one GameDay object

Value

a GameDay object, which consists of a list containing

gameId

The ID of the game

base

the base URL for the game

xml

a list of XML files downloaded from the GameDay server

ds

the processed data set for use with openWAR

Author(s)

Ben Baumer

Examples

1
2
gd = gameday()
str(gd)

beanumber/RGameDay documentation built on May 12, 2019, 9:41 a.m.