clean_drive_info: Clean Drive Information Cleans CFB (D-I) Drive-By-Drive Data...

Description Usage Arguments Details Value

View source: R/helper_pbp_clean_drive_info.R

Description

Clean Drive Information Cleans CFB (D-I) Drive-By-Drive Data to create 'pts_drive' column

Usage

1
clean_drive_info(drive_df)

Arguments

drive_df

(data.frame required) Drive dataframe pulled from API via the 'cfb_drives()' function

Details

Cleans CFB (D-I) Drive-By-Drive Data to create 'pts_drive' column. Requires the following columns be present:

Value

The original 'drive_df' with the following columns appended to it:

drive_id

Returned as 'drive_id' from original variable 'drive_id'

pts_drive

End result of the drive

scoring

Logical flag for if drive was a scoring drive updated


meysubb/cfbscrapR documentation built on Dec. 15, 2020, 11:26 p.m.