Loads player level season stats provided by Pro Football Reference starting with the 2019 season.

load_pfr_passing(seasons = TRUE)

Arguments

seasons

a numeric vector specifying what seasons to return, if TRUE returns all available data

Value

A tibble of season-level player statistics provided by Pro Football Reference.

See also

Examples

# \donttest{ load_pfr_passing()
#> # A tibble: 2,174 × 19 #> game_id pfr_game_id season week game_type team opponent pfr_player_name #> <chr> <chr> <int> <int> <chr> <chr> <chr> <chr> #> 1 2018_01_A… 201809060p… 2018 1 REG PHI ATL Nick Foles #> 2 2018_01_A… 201809060p… 2018 1 REG PHI ATL Nelson Agholor #> 3 2018_01_A… 201809060p… 2018 1 REG ATL PHI Matt Ryan #> 4 2018_01_B… 201809090r… 2018 1 REG BAL BUF Joe Flacco #> 5 2018_01_B… 201809090r… 2018 1 REG BAL BUF Lamar Jackson #> 6 2018_01_B… 201809090r… 2018 1 REG BUF BAL Nathan Peterman #> 7 2018_01_B… 201809090r… 2018 1 REG BUF BAL Josh Allen #> 8 2018_01_P… 201809090c… 2018 1 REG CLE PIT Tyrod Taylor #> 9 2018_01_P… 201809090c… 2018 1 REG PIT CLE Ben Roethlisber… #> 10 2018_01_C… 201809090c… 2018 1 REG IND CIN Andrew Luck #> # … with 2,164 more rows, and 11 more variables: pfr_player_id <chr>, #> # passing_drops <dbl>, passing_drop_pct <dbl>, passing_bad_throws <dbl>, #> # passing_bad_throw_pct <dbl>, times_sacked <dbl>, times_blitzed <dbl>, #> # times_hurried <dbl>, times_hit <dbl>, times_pressured <dbl>, #> # times_pressured_pct <dbl>
# }