Validation helper to determine if weeks are defined properly to filter the play-by-play data.
Arguments
- week_min
Minimum week to define whether pulling a range of weeks or the entire season. Use
week_min = 1
for the first week of the season, must be an integer.- week_max
Maximum week to define a range of weeks to pull from an NFL season. If not defined, the data will be pulled for all weeks, beginning with
week_min
.
Details
The function validate_pbp_weeks
is utilized to determine weeks are
defined as integers for week_min
and week_max
.
See also
get_pbp_data
:
Obtain filtered play-by-play data utilizes this helper function