Write the output of a function

writeStoxOutput(
  x,
  folderPath,
  filePath,
  ow = FALSE,
  escape = TRUE,
  projectPath = projectPath,
  modelName = modelName,
  processID = processID
)

Arguments

x

The output from a StoX function.

folderPath

Character: The path to the folder to write the files to

filePath

Character: Optional. If given this overrides the default file paths. Must be of the same length as x is x is a list of tables etc.

ow

Logical: If TRUE overwrite the file if existing.

escape

Logical: Should strings be escaped in text output. Defaulted to TRUE.

projectPath

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.

modelName

The name of the model (possible values are "baseline", "analysis" and "report").

processID

The ID of the process.