Skip to contents

This functions lists all nflverse data releases that are available in the nflverse-data repo. Release names can be used for downloads in nflverse_download().

Usage

nflverse_releases(.token = "default")

Arguments

.token

a GitHub API token, "default" uses gh::gh_token()

Value

A dataframe containing release names, release descriptions, and other relevant release information.

Examples

# \dontshow{
.for_cran()
# Change option for better output
old <- options(piggyback.verbose = FALSE)
# }
# \donttest{

try( # avoids cran failures, can skip in normal usage
nflverse_releases()
)
#> ── nflverse release listing ────────────────────────────────────────────────────
#>  Data updated: 2024-03-26 18:38:15 UTC
#> # A tibble: 20 × 8
#>    release_name   release_description timestamp   rds parquet   csv csv_gz   zip
#>    <chr>          <chr>               <chr>     <int>   <int> <int>  <int> <int>
#>  1 contracts      "OverTheCap contra… 2024-03-…     2       1     0      1     0
#>  2 players_compo… "Component files f… 2024-03-…     2       2     2      0     0
#>  3 injuries       "Injuries data, ac… 2024-03-…    15      15    15      0     0
#>  4 rosters        "Roster data, acce… 2024-03-…   104     104   104      0     0
#>  5 weekly_rosters "Week-level roster… 2024-03-…    22      22    22      0     0
#>  6 depth_charts   "Depth chart data,… 2024-03-…    23      23    23      0     0
#>  7 combine        "NFL Combine Data … 2024-03-…     1       1     1      0     0
#>  8 player_stats   "Play by play data… 2024-03-…    78      78    78     78     0
#>  9 misc           "Various bits of d… 2024-03-…     7       1     6      0     0
#> 10 pbp            "Play by play data… 2024-03-…    25      25    25     25    23
#> 11 players        "Player informatio… 2024-02-…     1       1     1      0     0
#> 12 espn_data      "ESPN Stats"        2024-02-…     2       2     2      0     0
#> 13 nextgen_stats  "NFL Next Gen Stat… 2024-02-…    27       3     0     27     0
#> 14 pfr_advstats   "PFR Adv Stats dat… 2024-02-…    52      28    28      0     0
#> 15 pbp_participa… "Participation dat… 2024-02-…     8       8     8      0     0
#> 16 draft_picks    "Draft picks datin… 2024-02-…     1       1     1      0     0
#> 17 ftn_charting   "Charting Data pro… 2024-02-…     2       2     2      0     0
#> 18 snap_counts    "Snap counts data,… 2024-02-…    12      12    13      0     0
#> 19 officials      "Data about which … 2024-02-…     1       1     1      0     0
#> 20 test           "for internal test… 2022-05-…     1       0     1      0     0
# }
# \dontshow{
# Restore old options
options(old)
# }