Skip to contents

Impute missing tus data

Usage

impute_tus_dat(env = NULL, cfg_dir = NULL, cfg_name = NULL, cfg = NULL)

Arguments

env

A character string specifying the environment for which to get the path. This should be one of 'main', 'ref' or 'test'.

cfg_dir

A character string specifying the config directory, or NULL for the default. Default: An OS-specific path for user configuration files in the user's home directory.

cfg_name

A character string specifying the config file name, or NULL for the default. Default: 'config.yml'

cfg

A list of nested lists, with 'leaf' nodes specifying configuration values. Default: The template config returned by generate_cfg_template()

Value

A data frame with the imputed tus data.

Examples

if (FALSE) { # \dontrun{
# To override the config to save the imputed tus data:
overrides = list(store = list(save = list(imputed_tus_dat = TRUE)))
impute_tus_dat(cfg = get_cfg(overrides = overrides))
} # }