Description Usage Arguments Details Value Examples
Retrieves MLBAM GameDay files for a single month
1 | getDataMonthly(yyyy = 2013, m = 5)
|
yyyy |
A year |
m |
a numeric value corresponding to a month |
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.
A data.frame of class GameDayPlays consisting of play-by-play data
1 2 | #Retrieve all of the MLBAM data from May 2013
ds = getMonthlyData(2013, 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.