Read or write the directories to be used in the processing. Directories do not have to exist and will be created. Content will be overwritten without confirmation! If no parameter is given, the directories will be returned a a list.

opt_directories(
  general.parameter,
  raw,
  pre_processed,
  extracted,
  archive,
  tools
)

Arguments

general.parameter

character vector of length one containing the directory for the general parameter files

raw

character vector of length one containing the directory for the raw data

pre_processed

character vector of length one containing the directory for the pre_processed data

extracted

character vector of length one containing the directory for the extracted data

archive

character vector of length one containing the directory for the archived data

tools

directory in which the tools are located

Value

list of directories. If values have set, the value before the change.

Examples

opt_directories()
#> $general.parameter #> [1] "00.general.parameter" #> #> $raw #> [1] "0.raw.data" #> #> $pre_processed #> [1] "1.pre-processed.data" #> #> $extracted #> [1] "2.extracted.data" #> #> $archive #> [1] "3.archived.data" #> #> $backend #> [1] "9.backend" #> #> $tools #> [1] "tools" #>
opt_directories(raw = "./temp")