Open mle2718 opened 2 years ago
The copy-over is a little sketchy too. If the "copy-over" option is done, it will change the data vintage from the date the file was extracted to set things up for the data_processing step. There are 4 files that go into the data processing.
Scallop_Linkingorg <- readRDS(here("data","intermediate",paste0("Scallop_Linkingorg_",vintage_string,".Rds")))
RESULT_COMPILED <- readRDS(here("data","intermediate",paste0("RESULT_COMPILED_",vintage_string,".Rds")))
APSD_DMIS_2 <- readRDS(here("data","intermediate",paste0("APSD_DMIS_2_",vintage_string,".Rds")))
all_yrs_costs <- readRDS(here("data","intermediate",paste0("all_yrs_costs_",vintage_string,".Rds")))
And that file expects them all to have the same value of vintage_string
.
possible solution: modify reset_vintage_string chunk to up all four vintage strings. And then set the output one to either 'today', the earliest, or the latest of the four?
I think this was fixed by _data_processingsteps.R or do we need to keep this issue open?
@mchaji I'm not sure. Let's leave it open for now.
data extracting and processing is really slow. bad for replicability.