This function handles all of the standard data cleaning necessary/preferable for puntalytics.
trust_the_process(punts, seasontype = "REG", trim = TRUE)
The play-by-play punting data to be cleaned and processed
One of "REG" (default) or "POST" to filter data, or NULL to include all data
Specify trim=FALSE
if you would like to use puntr::punt_trim
to create custom columns (or not use puntr::punt_trim
at all and include all columns)
A tibble punts
with cleaned and processed play-by-play punting data
if (FALSE) {
trust_the_process(punts)
trust_the_process(punts_custom_trimmed_already, trim=FALSE)
}