drive_score: Retrieve cumulative scores at end of each drive for a team

Description Usage Arguments Value

Description

Retrieve cumulative scores at end of each drive for a team

Retrieve cumulative score at end of drive

Usage

1
2
3
drive_score(accordion, side, half)

drive_score_(accordion, side)

Arguments

accordion

HTML for a team drive "accordion" on espn.go.com.

side

Team to scrape; either 'home' or 'away'.

Value

A vector where elements represent one team's cumulative number of points at the end of each drive and all other elements are NA.

A vector the length of the number of plays in a drive, where the last element is one team's cumulative number of points at the end of the drive and all other elements are NA.


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