Description Usage Arguments Value Examples
Retrieves nflscrapR Play-by-Play Data
1 | get_pbp_data(years)
|
years |
Single number or vector of years to get play-by-data for. |
Data frame of the play-by-play for the given year(s).
1 2 | # Get data from 2009 to 2016:
pbp_df <- get_pbp_data(c(2009:2016))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.