nflscrapR

Along with Maksim Horowitz and Sam Ventura, I have developed the nflscrapR package in R which allows for easy access of publicly available NFL play-by-play data. We provide estimates for the expected points and win probability for every play based on our fully reproducible methodology explained in our paper available for free on ArXiv. The nflscrapR package is frequently used by the football analytics community appearing in articles on The Athletic and FiveThirtyEight, as well as shared by the NFL Director of Data and Analytics.

Additional relevant links are:

  • nflscrapR-data repository - up-to-date repository containing all of the scraped NFL play-by-play data going back to 2009, along with example code demonstrating the package and visualizations
  • nflWAR - R package to generate the multilevel model results for estimating player-level effects to arrive at a wins above replacement (WAR) metric in football using publicly available data from nflscrapR
  • ‘nflscrapR`-models - repository containing code for fitting expected points and win probability models in the nflscrapR package
  • nflWAR-paper-results - repository containing additional code for generating the figures in the nflWAR paper
Avatar
Ron Yurko
PhD Student in Statistics & Data Science

My research interests include developing selective inference methodology for applications in statistical genetics and genomics, as well as clustering problems and research on statistics in sports.

Publications

Unlike other major professional sports, American football lacks comprehensive statistical ratings for player evaluation that are both …

Talks

Welcome! Hosted by the CMU Statistics & Data Science Department, the Carnegie Mellon University Football Analytics Workshop is an …

The current state of football analytics is heavily based on proprietary and potentially biased subjective data. Using the ‘nflscrapR’ …

Unlike other major professional sports, American football lacks comprehensive statistical ratings for player evaluation that are both …

Unlike other major professional sports, American football lacks comprehensive statistical ratings for player evaluation that are both …

In order for a NFL team to properly evaluate a player’s performance, an estimate for the true value of a play must be calculated. …