# NOT RUN {
# Get data from one day
ds = getData(start = '2013-03-31')
# Get data from multiple days
# }
# NOT RUN {
ds = getData(start = '2013-03-31', end = '2013-04-02')
# }
# NOT RUN {
# Get data for entire 2013 season
# }
# NOT RUN {
ds = getData(start = '2013-03-31', end = '2013-09-30')
# }
# NOT RUN {
# Retrieve all of the MLBAM data from May 2013
# }
# NOT RUN {
# ds = getDataMonthly(2013, 5)
# }
# NOT RUN {
# Retrieve all the data from the first week of the 2013 season
# }
# NOT RUN {
ds = getDataWeekly('2013-03-31')
# }
Run the code above in your browser using DataLab