View source: R/load_player_stats.R
| load_player_stats | R Documentation | 
Load Player Level Weekly Stats
load_player_stats(
  seasons = most_recent_season(),
  stat_type = c("offense", "defense", "kicking"),
  file_type = getOption("nflreadr.prefer", default = "rds")
)
seasons | 
 a numeric vector of seasons to return, defaults to most recent season. If set to   | 
stat_type | 
 one of   | 
file_type | 
 One of   | 
A tibble of week-level player statistics that aims to match NFL official box scores.
https://nflreadr.nflverse.com/articles/dictionary_player_stats.html for a web version of the data dictionary
dictionary_player_stats for the data dictionary
Issues with this data should be filed here: https://github.com/nflverse/nflverse-pbp
try({ # prevents cran errors
  load_player_stats()
  load_player_stats(stat_type = "kicking")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.