Description Usage Arguments Details Value
View source: R/helper_pbp_clean_drive_info.R
Clean Drive Information
Cleans CFB (D-I) Drive-By-Drive Data to create pts_drive
column
1 | clean_drive_info(drive_df)
|
drive_df |
(data.frame required) Drive dataframe pulled from API via the |
Cleans CFB (D-I) Drive-By-Drive Data to create pts_drive
column. Requires the following columns be present:
drive_idReturned as drive_id
drive_resultEnd result of the drive
scoringLogical flag for if drive was a scoring drive
game_idUnique game identifier
The original drive_df
with the following columns appended to it:
Returned as drive_id
from original variable drive_id
End result of the drive
Logical flag for if drive was a scoring drive updated
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.