This function handles all of the standard data cleaning necessary/preferable for puntalytics.

trust_the_process(punts, seasontype = "REG", trim = TRUE)

Arguments

punts

The play-by-play punting data to be cleaned and processed

seasontype

One of "REG" (default) or "POST" to filter data, or NULL to include all data

trim

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)

Value

A tibble punts with cleaned and processed play-by-play punting data

Examples

if (FALSE) {
trust_the_process(punts)
trust_the_process(punts_custom_trimmed_already, trim=FALSE)
}