load_ngs | R Documentation |
Load NGS
load_ngs( stat_type = c("passing", "receiving", "rushing"), year = c(2021), weekly = TRUE, regular_season = TRUE, join_roster = FALSE, pbp_data = pbp_data )
stat_type |
either passing, receiving or rushing |
year |
the year you want the stats from. Starts from 2016. Default is current year. |
weekly |
if you want the weekly or season stats. Default is yes. |
regular_season |
do you want to exclude postseason? Default is yes. |
join_roster |
do you want to join to pbp data? Default is no. |
pbp_data |
if you want to join with pbp data, define what your pbp is called. |
load_ngs(stat_type = "rushing")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.