getLeaders: Get NCAAF leaderboards

Description Usage Arguments Value Examples

Description

Extracts NCAAF team statistics leaderboard from ESPN.com and returns it as a data frame.

Usage

1
2
3
getLeaders(x = c("total", "downs", "passing", "rushing", "receiving",
  "returning", "kicking", "punting", "defense"), pos = c("offense",
  "defense"), yr = format(Sys.Date(), "%Y"))

Arguments

x

Statistics group of the requested rankings

pos

Position of the requested rankings

yr

Year of the requested rankings

Value

A data frame of the requested leaderboard

Examples

1
2
# Capture team rushing offense stats for 2013
df <- getLeaders('rushing', yr = 2013)

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