Skip to contents

This function implements a data preparation step to process the Population data. It is useful only for its side effects, i.e. for saving the processed data.

Usage

run_data_prep_population(
  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

NULL (invisibly).

Examples

if (FALSE) { # \dontrun{
run_data_prep_population()
} # }