Skip to contents

Allows read CARD with is formatism and convert it to a Process variable that explain all the step necessary for the extraction of process_extraction().

Usage

sourceProcess(path, default = NULL)

Arguments

path

A character string as a path to the CARD file.

default

The default process loaded by Process_default = sourceProcess(file.path(CARD_path, "__default__.R")) to load the default parameters of every extraction process. Default NULL.

Value

A Process variable which is a list of general parameters, and sub list for each extraction process parameters.

See also

Examples

if (FALSE) { # \dontrun{
Process_default = sourceProcess(path="path/to/CARD/__default__.R")
Process = sourceProcess(path="path/to/CARD/script.R",
                        default=Process_default)
} # }