nfl4th

R-CMD-check Twitter Follow

This is the package that powers the fourth down calculator introduced in this piece on The Athletic.

The code that powers the Twitter fourth down bot is in this folder here and the code that runs the Shiny app is here.

Installation

You can install the released version of nfl4th from CRAN with:

install.packages("nfl4th")

You can install nfl4th from GitHub with:

if (!require("remotes")) install.packages("remotes")
remotes::install_github("guga31bb/nfl4th")

Features

Current limitations

There are some edge cases that are not accounted for. These should only make a marginal difference to the recommendations as they are largely edge cases (e.g. the possibility for a field goal to be blocked and returned).

Get Started

To get started with nfl4th please see this article. Some examples of 4th down research using the package can be found here.