R/Framework.R
unlistToDataType.Rd
Function to flatten a list of output data and add names from the levels of the list
unlistToDataType(
processOutput,
sep = "_",
validOutputDataClasses = getRstoxFrameworkDefinitions("validOutputDataClasses"),
nlevel = 2,
keepNonStandardAttributes = FALSE
)
A list of StoX output data.
The separator to use when constructing names for the final flat list, defaulted to underscore, but slash can also be useful e.g. for denoting groupes in a NetCDF4 file.
A vector of valid output data classes, indicating when to stop the unlisting.
The number of levels to unlist through.
Logical: If TRUE, keep attributes other than the standard dim
, names
and dimnames
.
A list of tables