View source: R/utilities-data-importer-configuration.R
loadDataImporterConfiguration | R Documentation |
DataImporterConfiguration
from XML file.Load DataImporterConfiguration
from XML file.
loadDataImporterConfiguration(configurationFilePath)
configurationFilePath |
Path to the XML file with stored configuration (e.g. created in PK-Sim or MoBi). |
A new DataImporterConfiguration
object to be used with
loadDataSetsFromExcel()
.
configurationFilePath <- system.file(
"extdata", "dataImporterConfiguration.xml",
package = "ospsuite"
)
importerConfiguration <- loadDataImporterConfiguration(configurationFilePath)
# Specifying which sheet to load
importerConfiguration$sheets <- "TestSheet_1"
xlsFilePath <- system.file("extdata", "CompiledDataSet.xlsx", package = "ospsuite")
dataSets <- loadDataSetsFromExcel(
xlsFilePath = xlsFilePath,
importerConfigurationOrPath = importerConfiguration,
importAllSheets = FALSE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.