Skip to contents

Obtain QB advanced season stats from nflreadr, to acquire Pro Football Reference (PFR) data.

Usage

get_qb_pfr_advstats_season(seasons = NULL)

Format

A data frame with 26 variables that are described below.

player_display_name

Player name (e.g., Lamar Jackson)

pass_attempts

Total pass attempts

throwaways

Number of throwaways

spikes

Number of spikes

drops

Number of throws dropped

drop_pct

Percentage of dropped throws

bad_throws

Number of bad throws

bad_throw_pct

Percentage of bad throws

pocket_time

Average time in pocket

times_blitzed

Number of times blitzed

times_hurried

Number of times hurried

times_hit

Number of times hit

times_pressured

Number of times pressured

pressure_pct

Percent of time pressured

batted_balls

Number of batted balls

on_tgt_throws

Number of throws on target

on_tgt_pct

Percent of throws on target

rpo_plays

Run-pass-option (RPO) number of plays

rpo_yards

Run-pass-option (RPO) total yards

rpo_pass_att

Run-pass-option (RPO) pass attempts

rpo_pass_yards

Run-pass-option (RPO) pass yards

rpo_rush_att

Run-pass-option (RPO) rush attempts

rpo_rush_yards

Run-pass-option (RPO) rush yards

pa_pass_att

Play action pass attempts

pa_pass_yards

Play action pass yards

pfr_player_id

Pro Football Reference player ID (e.g., JackLa00)

Arguments

seasons

NFL Season(s) where seasons = 2024

Value

Dataframe with QB advanced stats from Pro Football Reference (PFR) for a defined season

Details

get_qb_pfr_advstats_season is a function to obtain advanced stats from Pro Football Reference (PFR). The function utilizes the nflreadr function load_pfr_advstats to load player level season stats starting with the 2018 season. For quarterbacks, the stat_type is defined as pass. More information is available about QB PFR advanced stats from PFR passing data dictionary.

See also

load_pfr_advstats Load advanced stats from PFR

Author

Nolan MacDonald