R/prepare_data.R
read-and-write-covariate-dataset-controls.Rd
Input/Output functions for covariate dataset control lists.
read_covariate_dataset_controls(main = ".", settings = directory_settings())
covariate_dataset_controls(
main = ".",
covariate_datasets = prefab_covariate_datasets(),
settings = directory_settings()
)
write_covariate_dataset_controls(
main = ".",
new_covariate_dataset_controls = NULL,
covariate_datasets = prefab_covariate_datasets(),
settings = directory_settings(),
quiet = FALSE
)
character
value of the name of the main component of the directory tree.
list
of controls for the directory, with defaults set in directory_settings
.
character
vector of name(s) of covariate dataset(s) to be created.
list
of controls for any new datasets (not in the prefab datasets) listed in datasets
that are to be added to the control list and file.
logical
indicator controlling if messages are printed.
list
of datasets
' control list
s, invisible
-ly for write_dataset_controls
.