getProcessOutput | R Documentation |
Gets the output of a process that has been run.
getProcessOutput(
projectPath,
modelName,
processID,
tableName = NULL,
subFolder = NULL,
flatten = FALSE,
pretty = FALSE,
pretty.json = FALSE,
pageindex = integer(0),
linesPerPage = 1000L,
columnSeparator = " ",
lineSeparator = NULL,
na = "-",
enable.auto_unbox = TRUE,
drop = FALSE,
drop.datatype = TRUE,
splitGeoJson = TRUE,
warn = TRUE
)
getProcessTableOutput(
projectPath,
modelName,
processID,
tableName = NULL,
flatten = FALSE,
pretty = FALSE,
pageindex = integer(0),
linesPerPage = 1000L,
columnSeparator = " ",
na = "-",
drop = FALSE
)
getProcessGeoJsonOutput(
projectPath,
modelName,
processID,
geoJsonName = NULL,
pretty = FALSE,
splitGeoJson = 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. |
tableName |
The name of the table to extract from the process. |
subFolder |
If the process returns subfolders (ReadBiotic and ReadAcoustic, where the subfolders represent files), specify the name of the folder with this parameter. |
flatten |
Logical: Should the output tables that contain cells of length > 1 be expanded to that the other columns are repeated, resulting in a regular table. |
pretty |
Logical: If TRUE pad with space in each cell to the maximum number of characters of the column including header. |
pretty.json |
Logical: If TRUE prettify the geojson. |
pageindex |
A vector of the pages to return with |
linesPerPage |
The number of lines per page if |
columnSeparator |
The string to separate columns by, defaulted to a single space. |
lineSeparator |
The string to separate lines by, defaulted to a NULL, which keeps the output as a vector of strings. |
na |
The string to replace NAs by, defaulted to "-". |
enable.auto_unbox |
Logical: If TRUE wrap the output in a list if |
drop |
Logical: If TRUE drop the list if only one element. |
drop.datatype |
Logical: If TRUE drop the top level of the output if in a list, which is the level named by the data type. |
splitGeoJson |
Logical: If TRUE split the geojson into a vector of separate lines. |
warn |
Logical: If TRUE warn if the process has not bee run. |
geoJsonName |
The name of the GeoJSON object to extract from the process. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.