View source: R/input_config_value.R
input_config_value | R Documentation |
Wrapper function for functions that input values into model config files
input_config_value(
model,
folder = ".",
file,
label,
key,
value,
out_file = NULL
)
model |
string; name of a model in the LER package |
folder |
file path; to folder which contains the model folders generated by export_config() |
file |
filepath; to model-specific config file |
label |
string; which corresponds to section where the key is located |
key |
string; name of key in which to extract the value |
value |
string; name of value to input into config file |
out_file |
filepath; to write the output json file (optional); defaults to overwriting file if not specified |
## Not run:
input_config_value(model = "GOTM", file = "gotm.yaml",
label = "turb_param", key = "k_min", value = 0.00001)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.