View source: R/generalFunctions.R
getSettingsTable | R Documentation |
This function provides a table with all variables and values for a given domain of the CWatM settings file.
getSettingsTable(settingsfile = NULL, domain)
settingsfile |
A character vector with a path to an MS Excel settings file or to a |
domain |
A character vector with a settings file domain name |
The function extracts data from a user-defined settings file. In case a user does not define a settings file (settingsfile = NULL
),
the results show a default settings file.
A data.frame
with all variables, values, and comments for a given domain (see Details).
getSettingsTable(settingsfile = NULL, domain = "FILE_PATHS") dontrun { getSettingsTable(settingsfile = "C:/IIASA/cwatm/cwatm_settings/cwatm_settings.xlsx", domain = "OPTIONS") getSettingsTable(settingsfile = "C:/IIASA/cwatm/cwatm_settings/cwatm_settings_sorekBasin.ini", domain = "OPTIONS") }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.