From c1c91bf8ff2d9491a13b3ea5048a37f8503b4394 Mon Sep 17 00:00:00 2001 From: Tan-DESKPC Date: Tue, 25 Jan 2022 07:21:09 -0500 Subject: [PATCH] epload version timestamp --- R/ep_load.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/ep_load.R b/R/ep_load.R index e20572d..5686026 100644 --- a/R/ep_load.R +++ b/R/ep_load.R @@ -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()