Skip to contents

Obtain RB cumulative season stats from nflreadr, to acquire Next Gen Stats (NGS) data.

Usage

get_rb_ngs_advstats_season(seasons = NULL)

Format

A data frame with 15 variables that are described below.

player_id

Player gsis id (e.g., 00-0038120)

player_display_name

Player name (e.g., Breece Hall)

player_name

Player shortened name (e.g., B.Hall)

position

Player position

rush_attempts

Total rush attempts

rush_yards

Total rush yards

avg_rush_yards

Average rush yards per attempt

rush_touchdowns

Total rush touchdowns

efficiency

Average efficiency (EFF)

percent_attempts_gte_eight_defenders

Average % attempts with 8+ Defenders in the Box (8+D%)

avg_time_to_los

Average time behind line of scrimmage (TLOS)

expected_rush_yards

Average expected rush yards

rush_yards_over_expected

Average rush yards over expected

rush_yards_over_expected_per_att

Average rush yards over expected per attempt

rush_pct_over_expected

Average rush % over expected

Arguments

seasons

NFL Season(s) where seasons = 2024 or seasons = c(2023, 2024)

Value

Dataframe with RB Next Gen Stats for a defined season

Details

get_rb_ngs_advstats_season is a function to obtain NFL Next Gen Stats (NGS) for an entire season or multiple seasons. The function utilizes the nflreadr function load_nextgen_stats to load player level weekly stats starting with the 2016 season. For running backs, the stat_type is defined as rushing and is updated every night. NGS will only provide data for players above a minimum number of receptions. More information is available about NGS stats from NGS glossary.

See also

load_nextgen_stats Load player level weekly NFL Next Gen Stats

Author

Nolan MacDonald