View source: R/utilities-data-set.R
loadDataSetsFromExcel | R Documentation |
Load data sets from excel
loadDataSetsFromExcel(
xlsFilePath,
importerConfigurationOrPath,
importAllSheets = FALSE
)
xlsFilePath |
Path to the excel file with the data |
importerConfigurationOrPath |
An object of type |
importAllSheets |
If |
Load observed data from an excel file using an importer configuration
A named set of DataSet
objects. The naming is defined by the property
importerConfiguration$namingPattern
.
xlsFilePath <- system.file(
"extdata", "CompiledDataSet.xlsx",
package = "ospsuite"
)
importerConfiguration <- createImporterConfigurationForFile(xlsFilePath)
importerConfiguration$sheets <- "TestSheet_1"
dataSets <- loadDataSetsFromExcel(
xlsFilePath = xlsFilePath,
importerConfigurationOrPath = importerConfiguration,
importAllSheets = FALSE
)
importerConfigurationFilePath <- system.file(
"extdata", "dataImporterConfiguration.xml",
package = "ospsuite"
)
dataSets <- loadDataSetsFromExcel(
xlsFilePath = xlsFilePath,
importerConfigurationOrPath = importerConfigurationFilePath,
importAllSheets = FALSE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.