greg: greg gameday.default

Description Usage Arguments Details Value

Description

Convenience class for dealing with MLBAM GameDay files

Usage

1
greg(x)

Arguments

gameId

A valid MLBAM gameId

...

currently ignored

Details

Each gameId corresponds to one object of class 'gameday'

Value

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 processed data set for use with openWAR containing all play-by-play information for the game indicated by the gameId


gjm112/AUCCI documentation built on May 17, 2019, 6:03 a.m.