prepare metadata | R Documentation |
Sets up the metadata list used for forecasting, in particular the matching of time period across the datasets, according to the directory_settings
.
prepare_metadata(
main = ".",
datasets = prefab_datasets(),
new_datasets_controls = NULL
)
main |
|
datasets |
|
new_datasets_controls |
|
list
of forecasting metadata, which is also saved out as a YAML file (.yaml
) if desired.
Content preparation functions:
directory filling
,
prepare covariates
,
prepare models
,
prepare newmoons
,
prepare rodents
## Not run:
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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.