Getting NFL data

This section contains videos and links to R scripts for various ways to get -- and use -- NFL data using various R packages.

This is at least intermediate level. Recommend that you are familiar with basic tidyverse, including dplyr, stringr and a little ggplot. If you need to learn those things, head over to my other R tutorials.

Questions? Contact MaryJo Webster. If you like my work, please consider making a donation via PayPal. Thank you!


This is a work in progress. More to come...

Part 1

Basics of using a few of the functions in the ESPNScrapeR package, including making a simple ggplot line chart

R Notebook file to follow along

Part 2

Using purrr along with the ESPNScrapeR package to download data for multiple games at one time

Part 3

Making a ggplot facet chart using play-by-play win probability data