load_draft_picks: Load Draft Picks from PFR

View source: R/load_draft_picks.R

load_draft_picksR Documentation

Load Draft Picks from PFR

Description

Loads every draft pick since 1980 courtesy of PFR.

Usage

load_draft_picks(
  seasons = TRUE,
  file_type = getOption("nflreadr.prefer", default = "rds")
)

Arguments

seasons

a numeric vector of seasons to return, default TRUE returns all available data

file_type

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

Value

A tibble of NFL draft picks provided by Pro Football Reference.

See Also

https://nflreadr.nflverse.com/articles/dictionary_draft_picks.html for the web data dictionary

dictionary_draft_picks for the data dictionary as bundled within the package

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

Examples



try({ # prevents cran errors
  load_draft_picks()
})



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