get_schedule: Retrieve schedule for a given team and season

Description Usage Arguments Value Examples

Description

Scrapes a football schedule and weekly overview for a given team and season.

Usage

1
get_schedule(teams, yrs)

Arguments

teams

Vector of teams for which to extract schedules. Elements should match team names available in cfbteams.

yrs

Vector of years for which to extract schedules. Elements should directly correspond with those passed to `teams`.

Value

A list of data frames of the requested schedules.

Examples

1
2
3
4
5
## Not run: 
get_schedule(c('Iowa', 'Stanford'), rep(2015, 2))
get_schedule(rep('Alabama', 3), 2010:2012)

## End(Not run)

benjcunningham/cfbmod documentation built on May 12, 2019, 11:56 a.m.