Skip to contents

Loads data sets from excel. The excel file containing the data must be located in the folder projectConfiguration$dataFolder and be named projectConfiguration$dataFile. Importer configuration file must be located in the same folder and named projectConfiguration$dataImporterConfigurationFile.

Usage

loadObservedData(
  projectConfiguration,
  sheets = NULL,
  importerConfiguration = NULL
)

Arguments

projectConfiguration

Object of class ProjectConfiguration containing the necessary information.

sheets

String or a list of strings defining which sheets to load. If NULL (default), all sheets within the file are loaded.

importerConfiguration

DataImporterConfiguration object used to load the data. If NULL (default), default esqlabs importer configuration as defined in projectConfiguration$dataImporterConfigurationFile will be used.

Value

A named list of DataSet objects, with names being the names of the data sets.

Examples

if (FALSE) {
# Create default project configuration
projectConfiguration <- createDefaultProjectConfiguration()
dataSets <- loadObservedData(projectConfiguration)
}