nflfastr_weekly: Import latest nflfastr weekly stats

View source: R/1_import_nflfastr.R

nflfastr_weeklyR Documentation

Import latest nflfastr weekly stats

Description

Fetches a copy of the latest week-level stats from nflfastr's data repository, via the nflreadr package.

Usage

nflfastr_weekly(seasons = TRUE, type = c("offense", "kicking"))

Arguments

seasons

The seasons to return, TRUE returns all data available.

type

One of "offense" or "kicking"

Details

The goal of this data is to replicate the NFL's official weekly stats, which can diverge a bit from what fantasy data feeds display.

If you have any issues with the output of this data, please open an issue in the nflfastr repository.

Value

Weekly stats for all passers, rushers and receivers in the nflverse play-by-play data from the 1999 season to the most recent season

See Also

https://nflreadr.nflverse.com

Examples


try( # try only shown here because sometimes CRAN checks are weird
  nflfastr_weekly()
)



ffscrapr documentation built on Feb. 16, 2023, 10:55 p.m.