R/prep_pbp_data.R
prep_pbp_data.Rd
Add necessary columns to nflscrapR data
prep_pbp_data(data)
An nflscrapR or nflfastR data set. Note that stringsAsFactors = FALSE is assumed.
a data.table object
if (FALSE) { dt <- prep_pbp_data(nflscrapr_pbp_data) }