View source: R/prep_pbp_data.R
prep_pbp_data | R Documentation |
Add necessary columns to nflscrapR data
prep_pbp_data(data)
data |
An nflscrapR or nflfastR data set. Note that stringsAsFactors = FALSE is assumed. |
a data.table object
## Not run: dt <- prep_pbp_data(nflscrapr_pbp_data) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.