load_ngs: Load NGS

View source: R/load_ngs.R

load_ngsR Documentation

Load NGS

Description

Load NGS

Usage

load_ngs(
  stat_type = c("passing", "receiving", "rushing"),
  year = c(2021),
  weekly = TRUE,
  regular_season = TRUE,
  join_roster = FALSE,
  pbp_data = pbp_data
)

Arguments

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.

Examples

load_ngs(stat_type = "rushing")

becausejustyn/nflhelpR documentation built on March 29, 2022, 10:10 p.m.