Closed dsweber2 closed 5 months ago
I'm going to run just the data targets in production to make sure this does the right thing too.
so after renv::install("targets@1.3.2", "tarchetypes@0.7.9"); renv::snapshot()
, this does seem to be working.
I also added the necessary changes to get DEBUG_MODE=true
to actually get browser()
working. Doesn't seem to be a way around having to run tar_make(name, callr_function=NULL)
.
We definitely need to figure out a better way to deal with dates for slide_forecaster
, though I'm not sure what exactly.
The reason our forecasters were underperforming was that when merging the chng and hhs dataset, we were removing any rows with NA's. This fixes things to only remove NA's inside a forecaster, and only for columns actually used in forecasting. For an example of the problematic data, compare
which is the last hhs data, while
which is the last chng data
joined matches chng:
closes #93