drive_summary: Drive Summary and Results

Description Usage Arguments Details Value Examples

View source: R/PlayByPlayBoxScore.R

Description

This function outputs the results dataframe of each drive of a given game

Usage

1
drive_summary(GameID)

Arguments

GameID

(character or numeric) A 10 digit game ID associated with a given NFL game.

Details

The resulting dataframe has 16 variables associated with a specific aspect of a drive including the scoring result, number of plays, the duration of the drive, and the offensive and defensive teams. All 16 variables are explained in more detail below:

Value

A dataframe that has the summary statistics for each drive final output includes first downs, drive result, penalty yards, of plays, time of possession, quarter at the start of the drive, time at start of drive, yardline at start of drive, team with possession at start, end of drive quarter, end of drive time, end of drive yard line, end of drive team with possession

Examples

1
2
3
# Parsed drive Summarize of final game in 2015 NFL Season
nfl2015.finalregseasongame.gameID <- "2016010310"
drive_summary(nfl2015.finalregseasongame.gameID) 

maksimhorowitz/nflscrapR documentation built on April 3, 2020, 7:40 p.m.