Learn R Programming

nflfastR (version 4.3.0)

load_player_stats: Load Player Level Weekly Stats

Description

Load Player Level Weekly Stats

Usage

load_player_stats(..., qs = lifecycle::deprecated())

Value

A tibble of week-level player statistics that aims to match NFL official box scores.

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 or kicking

file_type

One of "rds" or "qs". Can also be set globally with options(nflreadr.prefer)

qs

[Deprecated] has no effect and will be removed in a future release.

See Also

The function calculate_player_stats() and the corresponding examples on the nflfastR website

Examples

Run this code
# \donttest{
stats <- load_player_stats()
dplyr::glimpse(stats)
# }

Run the code above in your browser using DataLab