From 34887aafde60683ead49ba8a6223b74924e6e379 Mon Sep 17 00:00:00 2001 From: Sebastian Funk Date: Thu, 19 Oct 2023 17:03:16 +0100 Subject: [PATCH] Revert "Rename `forecast_date` column to `origin_date`" This reverts commit 6e8a37d3ed9e48fa2deb1fc7e0724de99bc7c9da. --- R/validate_model_data.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/validate_model_data.R b/R/validate_model_data.R index 4499421..53a4af0 100644 --- a/R/validate_model_data.R +++ b/R/validate_model_data.R @@ -45,7 +45,7 @@ validate_model_data <- function(data_file, data_schema) { validations <- c(validations, fhub_check( data_file, identical( - unique(data$origin_date), + unique(data$forecast_date), as.Date( gsub( "^(\\d{4}-\\d{2}-\\d{2})-[a-zA-Z0-9_+]+-[a-zA-Z0-9_+]+\\.csv$",