This function reads all or some of the output files of a project, indicated by model and process names.
readModelData(
projectPath,
modelName = NULL,
processName = NULL,
verifyFiles = FALSE,
unlist = FALSE,
emptyStringAsNA = FALSE,
...
)
The path to the StoX project, i.e., the folder of the project with the sub folders "input", "output" and "process". Can possibly be the path to a file inside the project folder.
The name of the model (possible values are "baseline", "analysis" and "report").
The name of the process.
Logical: If TRUE verify that the files are from processes that exist in the project.
Either 1 to unlist the models, 2 to unlist the models and the process. TRUE is interpreted as 2.
Logical: If TRUE, read empty strings as NA from the stored original tables, as RstoxFramework has started writing NAs as NAs and not as empty strings.
Arguments passed to readBootstrapData
, e.g. selection
, which must be set to NA to read the entire file.
A list of model output.