knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
This repository holds automated data releases for nflverse projects (i.e. all of the data powered/scraped via GitHub Actions).
You can download data hosted here with the {nflreadr}
package, or manually download and access the releases page. Releases are roughly organized along the main functions of nflreadr.
The following table reports on the status and last update times of nflverse data pipelines.
# piggyback::pb_list() |> # dplyr::filter(file_name %in% c("timestamp.json","")) |> # dplyr::distinct(tag,file_name) |> # saveRDS("man/data_releases.rds") update_times <- readRDS("man/data_releases.rds") |> dplyr::mutate(url = glue::glue("https://github.com/nflverse/nflverse-data/releases/download/{tag}/timestamp.json"), badge = glue::glue("[}&query=last_updated&style=flat-square&url={URLencode(url)})](https://github.com/nflverse/nflverse-data/releases/tag/{tag})")) |> dplyr::select( Data = tag, `Last Updated` = badge ) |> dplyr::bind_rows( list(Data = "pbp_raw", `Last Updated` = "[]()") ) status <- tibble::tribble( ~Data, ~ Status, "pbp_raw", "", "pbp", "", "player_stats", "", "rosters", "", "players", "", "snap_counts", "", "draft_picks", "", "pfr_advstats", "", "nextgen_stats", "", "injuries", "", "depth_charts", "", "combine", "", "nfl4th", "", "ffverse player IDs", "", "ffverse rankings", "", "contracts", "" ) |> dplyr::left_join(update_times, by = "Data") |> dplyr::mutate_all(tidyr::replace_na,"") |> dplyr::mutate(Status = glue::glue("[{Status}]()"))
knitr::kable(status)
```{asis include = FALSE}
Raw JSON should appear 1-2 hours after each game.
PBP and PS are updated at 9:00 UTC each day from September to February
Rosters are updated at 7:00 UTC each day.
Snap counts are polled four times a day for new data.
Advanced Stats are polled four times a day for new data.
NGS is polled every day at 7:00 UTC from September to February.
nfl4th's precomputed numbers are rebuilt each day at 7:00 UTC from September to February.
This is updated on a weekly basis.
This is updated on Thursdays at 7:00 pm ET.
```
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.