dataPeriod-class: Class to represent the period for a datascrape

Description Slots Examples

Description

The datascrapes need a week and season designation to work.

Slots

weekNo

An integer representing the week number. 0 for preseason, 1-17 for regular season and 18-21 for post season

season

A year representing the season. Should be 2008 or later but can't be higher than current year

Examples

1
2
3
4
dataPeriod(weekNo = 1, season = 2015) # Week 1 of the 2015 season
dataPeriod(season = 2015)             # 2015 season
dataPeriod(weekNo = 3)                # Week 3 of the current year
dataPeriod()                          # Current season

dadrivr/ffanalytics documentation built on May 14, 2019, 3:12 p.m.