From ae64566a3cb989b91431ab56369980d7c7099743 Mon Sep 17 00:00:00 2001 From: Julie Chen Date: Wed, 12 Nov 2025 16:15:22 -0500 Subject: [PATCH] add 2023 data option --- R/CommodityFlowFunctions.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/CommodityFlowFunctions.R b/R/CommodityFlowFunctions.R index 5d4b847f..47811fa4 100644 --- a/R/CommodityFlowFunctions.R +++ b/R/CommodityFlowFunctions.R @@ -303,7 +303,7 @@ calculateElectricityFlowRatios <- function(state, year, specs) { state_abb <- getStateAbbreviation(state) # Load consumption data CodeDesc <- loadStateIODataFile("EIA_SEDS_CodeDescription", ver = specs$model_ver) - if (year == 2023) { + if (year == 2024) { logging::logwarn(paste0("EIA SEDS data for Electricity Consumption not yet final ", "for ", year, ". Using the prior year's data.")) year = year - 1