This function is essentially a convenient wrapper for dplyr::summarise which includes all of the relevant columns from a puntr-style data frame. This function differs from puntr::create_mini and puntr::create_miniY in that it groups by punter_player_name, season, and week (and adds a convenient weekid column to uniquely identify each row). NOTE: puntr::create_mini, puntr::create_miniY, and puntr::create_miniG are being phased out in favor of puntr::by_punters, puntr::by_punter_seasons, and puntr::by_punter_games

create_miniG(punts, ..., threshold = 1)

Arguments

punts

The play-by-play punting data to be summarized

...

Any additional arguments will be passed through to dplyr::summarise

threshold

The minimum number of punts for a week to be included, defaults to 1

Value

A tibble miniG where each row is a punter-week and each column is a stat

Examples

if (FALSE) {
create_miniG(punts)
}