Configuration of data import from excel or csv files. To be used with #TODO
Super classes
ospsuite.utils::Printable
-> ospsuite::DotNetWrapper
-> DataImporterConfiguration
Active bindings
timeColumn
Name of the column for time values
timeUnit
If
isTimeUnitFromColumn
isFALSE
, unit of the values in time column IfisTimeUnitFromColumn
isTRUE
, name of the column with units of the values in time column.isTimeUnitFromColumn
If
TRUE
, units of the values in time column are defined in the columntimeUnit
. IfFALSE
, the unit is defined by the value oftimeUnit
.measurementColumn
Name of the column for measurement values
measurementDimension
If
isMeasurementUnitFromColumn
isFALSE
, dimension of the values in measurement column IfisMeasurementUnitFromColumn
isTRUE
, the dimension is guessed from the unit defined in the columnmeasurementUnit
during import process and$measurementDimension
isNULL
. When changing dimension, the unit is set to the base unit of this dimension.measurementUnit
If
isMeasurementUnitFromColumn
isFALSE
, unit of the values in measurement column IfisMeasurementUnitFromColumn
isTRUE
, name of the column with units of the values in measurement columnisMeasurementUnitFromColumn
If
TRUE
, units of the values in measurement column are defined in the columnmeasurementUnit
. IfFALSE
, the unit is defined by the value ofmeasurementUnit
.errorColumn
Name of the column for measurement error values If no error column is defined, the value is
NULL
. Setting the value toNULL
removes an existing error column.errorUnit
If
isMeasurementUnitFromColumn
isFALSE
, unit of the values in the error column IfisMeasurementUnitFromColumn
isTRUE
, name of the column with units of the values in error column If no error column is present, the value isNULL
errorType
Type of the measurement error values. See enum
DataErrorType
for possible values If no error column is present, the value isNULL
groupingColumns
Column names by which the data will be grouped
sheets
Names of the sheets (list of strings) of the excel workbook for which the configuration will be applied.
namingPattern
Regular expression used for naming of loaded data sets. Words between curly brackets (e.g.
{Group Id}
) will be replaced by the value in the corresponding column. Further keywords are{Source}
for the file name and{Sheet}
for sheet name.
Methods
Method new()
Initialize a new instance of the class
Usage
DataImporterConfiguration$new(ref = NULL)
Method print()
Print the object to the console