Prepare and combine the historical and forecast covariate data for a model run, according to the directory_settings
.
Value
data.frame
of historical and forecasted covariates that is also saved out to settings$files$covariates
if indicated by settings$save
.
See also
Content preparation functions:
directory filling
,
prepare metadata
,
prepare models
,
prepare newmoons
,
prepare rodents
Examples
if (FALSE) { # \dontrun{
main1 <- file.path(tempdir(), "covariates")
create_dir(main = main1)
fill_resources(main = main1)
fill_forecasts(main = main1)
fill_fits(main = main1)
fill_models(main = main1)
prepare_newmoons(main = main1)
prepare_rodents(main = main1)
prepare_covariates(main = main1)
unlink(main1, recursive = TRUE)
} # }