load_espn_qbr: Load ESPN's QBR

View source: R/load_espn_qbr.R

load_espn_qbrR Documentation

Load ESPN's QBR

Description

Load ESPN's QBR

Usage

load_espn_qbr(
  seasons = most_recent_season(),
  summary_type = c("season", "week"),
  file_type = getOption("nflreadr.prefer", default = "rds")
)

Arguments

seasons

a numeric vector of seasons to return, data available since 2006. Defaults to latest season available. TRUE will select all seasons.

summary_type

One of "season" or "week", defaults to "season"

file_type

One of c("rds", "qs", "csv", "parquet"). Can also be set globally with options(nflreadr.prefer)

Value

a tibble of ESPN QBR data, summarized according to summary_type

See Also

https://nflreadr.nflverse.com/articles/dictionary_espn_qbr.html for a web version of the dictionary

dictionary_espn_qbr for the data dictionary as bundled within the package

Issues with this data should be filed here: https://github.com/nflverse/espnscrapeR-data

Examples



    load_espn_qbr(2020)



nflreadr documentation built on Sept. 11, 2024, 6:14 p.m.