getDataMonthly: getDataMonthly

Description Usage Arguments Details Value Examples

View source: R/getData.R

Description

Retrieves MLBAM GameDay files for a single month

Usage

1
getDataMonthly(yyyy = 2013, m = 5)

Arguments

yyyy

A year

m

a numeric value corresponding to a month

Details

Given a year and month, this function will retrieve data from the GameDay server from the specified month and process them into a single data.frame.

Value

A data.frame of class GameDayPlays consisting of play-by-play data

Examples

1
2
#Retrieve all of the MLBAM data from May 2013
ds = getMonthlyData(2013, 5)

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