Sets up the metadata list used for forecasting, in particular the matching of time period across the datasets, according to the directory_settings
.
Usage
prepare_metadata(
main = ".",
datasets = prefab_datasets(),
new_datasets_controls = NULL
)
See also
Content preparation functions:
directory filling
,
prepare covariates
,
prepare models
,
prepare newmoons
,
prepare rodents
Examples
if (FALSE) { # \dontrun{
main1 <- file.path(tempdir(), "metadata")
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)
prepare_metadata(main = main1)
unlink(main1, recursive = TRUE)
} # }