Load Player Level Weekly Stats
Arguments
- ...
Arguments passed on to
nflreadr::load_player_stats
seasons
a numeric vector of seasons to return, defaults to most recent season. If set to
TRUE
, returns all available data.stat_type
one of
"offense"
,"defense"
, or"kicking"
file_type
One of
c("rds", "qs", "csv", "parquet")
. Can also be set globally withoptions(nflreadr.prefer)
See also
The function calculate_player_stats()
and the corresponding examples
on the nflfastR website
Examples
# \donttest{
try({# to avoid CRAN test problems
stats <- load_player_stats()
dplyr::glimpse(stats)
})
#> Warning: We have changed the behavior of `load_player_stats()` as of nflfastR 4.3.0.
#> Calling it without an argument will return the current season only instead of
#> all available seasons.
#> Please try `load_player_stats(seasons = TRUE)` to get all seasons.
#> This warning is displayed once every 8 hours.
#> Rows: 2,179
#> Columns: 114
#> $ player_id <chr> "00-0023459", "00-0023853", "00-0025565", …
#> $ player_name <chr> "A.Rodgers", "M.Prater", "N.Folk", "J.Flac…
#> $ player_display_name <chr> "Aaron Rodgers", "Matt Prater", "Nick Folk…
#> $ position <chr> "QB", "K", "K", "QB", "DE", "QB", "K", "P"…
#> $ position_group <chr> "QB", "SPEC", "SPEC", "QB", "DL", "QB", "S…
#> $ headshot_url <chr> "https://static.www.nfl.com/image/upload/f…
#> $ season <int> 2025, 2025, 2025, 2025, 2025, 2025, 2025, …
#> $ week <int> 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, …
#> $ season_type <chr> "REG", "REG", "REG", "REG", "REG", "REG", …
#> $ team <chr> "PIT", "BUF", "NYJ", "CLE", "ARI", "LA", "…
#> $ opponent_team <chr> "NYJ", "BAL", "PIT", "CIN", "NO", "HOU", "…
#> $ completions <int> 22, 0, 0, 31, 0, 21, 0, 0, 0, 0, 0, 0, 0, …
#> $ attempts <int> 30, 0, 0, 45, 0, 29, 0, 0, 0, 0, 0, 0, 0, …
#> $ passing_yards <int> 244, 0, 0, 290, 0, 245, 0, 0, 0, 0, 0, 0, …
#> $ passing_tds <int> 4, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ passing_interceptions <int> 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ sacks_suffered <int> 4, 0, 0, 2, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ sack_yards_lost <int> -26, 0, 0, -12, 0, -21, 0, 0, 0, 0, 0, 0, …
#> $ sack_fumbles <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ sack_fumbles_lost <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ passing_air_yards <int> 139, 0, 0, 273, 0, 226, 0, 0, 0, 0, 0, 0, …
#> $ passing_yards_after_catch <int> 173, 0, 0, 173, 0, 68, 0, 0, 0, 0, 0, 0, 0…
#> $ passing_first_downs <int> 14, 0, 0, 13, 0, 13, 0, 0, 0, 0, 0, 0, 0, …
#> $ passing_epa <dbl> 10.204755, NA, NA, -1.842128, NA, 6.090109…
#> $ passing_cpoe <dbl> 6.350381, NA, NA, 2.374263, NA, 5.381517, …
#> $ passing_2pt_conversions <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ pacr <dbl> 1.7553957, NA, NA, 1.0622711, NA, 1.084070…
#> $ carries <int> 1, 0, 0, 2, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ rushing_yards <int> -1, 0, 0, 6, 0, -2, 0, 0, 0, 0, 0, 0, 0, 0…
#> $ rushing_tds <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ rushing_fumbles <int> 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ rushing_fumbles_lost <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ rushing_first_downs <int> 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ rushing_epa <dbl> -1.8739021, NA, NA, 0.1343833, NA, -6.1760…
#> $ rushing_2pt_conversions <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ receptions <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ targets <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ receiving_yards <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ receiving_tds <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ receiving_fumbles <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ receiving_fumbles_lost <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ receiving_air_yards <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ receiving_yards_after_catch <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ receiving_first_downs <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ receiving_epa <dbl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA…
#> $ receiving_2pt_conversions <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ racr <dbl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA…
#> $ target_share <dbl> 0.00000000, 0.00000000, 0.00000000, 0.0000…
#> $ air_yards_share <dbl> 0.00000000, 0.00000000, 0.00000000, 0.0000…
#> $ wopr <dbl> 0.0000000, 0.0000000, 0.0000000, 0.0000000…
#> $ special_teams_tds <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ def_tackles_solo <int> 0, 0, 0, 0, 3, 0, 0, 0, 0, 1, 2, 2, 1, 1, …
#> $ def_tackles_with_assist <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, …
#> $ def_tackle_assists <int> 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 1, 0, 1, 0, …
#> $ def_tackles_for_loss <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 0, …
#> $ def_tackles_for_loss_yards <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 2, 0, 0,…
#> $ def_fumbles_forced <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ def_sacks <dbl> 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.…
#> $ def_sack_yards <dbl> 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.…
#> $ def_qb_hits <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, …
#> $ def_interceptions <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ def_interception_yards <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ def_pass_defended <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, …
#> $ def_tds <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ def_fumbles <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ def_safeties <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ misc_yards <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fumble_recovery_own <int> 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fumble_recovery_yards_own <int> 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fumble_recovery_opp <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fumble_recovery_yards_opp <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fumble_recovery_tds <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ penalties <int> 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, …
#> $ penalty_yards <int> 0, 0, 0, 0, 0, 0, 0, 0, 10, 4, 0, 0, 0, 0,…
#> $ punt_returns <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ punt_return_yards <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ kickoff_returns <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ kickoff_return_yards <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fg_made <int> 0, 3, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, …
#> $ fg_att <int> 0, 3, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, …
#> $ fg_missed <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fg_blocked <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fg_long <int> NA, 43, 51, NA, NA, NA, 55, NA, NA, NA, NA…
#> $ fg_pct <dbl> NA, 1, 1, NA, NA, NA, 1, NA, NA, NA, NA, N…
#> $ fg_made_0_19 <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fg_made_20_29 <int> 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, …
#> $ fg_made_30_39 <int> 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fg_made_40_49 <int> 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fg_made_50_59 <int> 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, …
#> $ fg_made_60_ <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fg_missed_0_19 <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fg_missed_20_29 <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fg_missed_30_39 <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fg_missed_40_49 <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fg_missed_50_59 <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fg_missed_60_ <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fg_made_list <chr> NA, "25;43;32", "35;51", NA, NA, NA, "21;5…
#> $ fg_missed_list <chr> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA…
#> $ fg_blocked_list <chr> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA…
#> $ fg_made_distance <int> 0, 100, 86, 0, 0, 0, 76, 0, 0, 0, 0, 0, 0,…
#> $ fg_missed_distance <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ fg_blocked_distance <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ pat_made <int> 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ pat_att <int> 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ pat_missed <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ pat_blocked <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ pat_pct <dbl> NA, 1, 1, NA, NA, NA, NA, NA, NA, NA, NA, …
#> $ gwfg_made <int> 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ gwfg_att <int> 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ gwfg_missed <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ gwfg_blocked <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
#> $ gwfg_distance <int> 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,…
#> $ fantasy_points <dbl> 25.66, 0.00, 0.00, 12.20, 0.00, 13.60, 0.0…
#> $ fantasy_points_ppr <dbl> 25.66, 0.00, 0.00, 12.20, 0.00, 13.60, 0.0…
# }