Description Usage Arguments Details Value
View source: R/helper_pbp_add_yardage.R
Add yardage extracted from play text
1 | add_yardage(play_df)
|
play_df |
(data.frame required) Extracts yardage information from Play-by-Play data frame, as pulled from 'cfb_pbp_data()' |
Cleans CFB (D-I) Drive-By-Drive Data to create yardage column. Requires the following columns be present:
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
The original 'play_df' with the following columns appended to it:
.
.
.
.
.
.
.
.
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.