Skip to content

Commit

Permalink
epload version timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
tanho63 committed Jan 25, 2022
1 parent 050cbf5 commit c1c91bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ep_load.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ ep_load <- function(season = nflreadr:::most_recent_season(),
p <- NULL
if (is_installed("progressr")) p <- progressr::progressor(along = season)
out <- purrr::map_dfr(urls, nflreadr::progressively(rds_from_url, p))
ts <- nflreadr::raw_from_url("https://github.com/ffverse/ffopportunity/releases/download/latest-data/timestamp.txt") %>%
ts <- nflreadr::raw_from_url(glue::glue("https://github.com/ffverse/ffopportunity/releases/download/{version}-data/timestamp.txt")) %>%
rawToChar() %>%
as.POSIXct()

Expand Down

0 comments on commit c1c91bf

Please sign in to comment.