View source: R/get_yaml_multiple.R
get_yaml_multiple | R Documentation |
Extract values from yaml file, like gotmtools::get_yaml_value However, an unlimited amount of keys can be provided. NOTE: this does not use a yaml parser so if there are yaml formatting errors this function will not pick them up.
get_yaml_multiple(file = "gotm.yaml", ...)
file |
filepath; to yaml file which you wish to edit |
... |
string key1, key2, etc.: multiple keys pointing toward the line that you want to edit in the yaml file. Keys must be listed consecutively, without skipping numbers. |
Jorrit Mesman
## Not run:
get_yaml_multiple(file = "example.yaml", key1 = "streams", key2 = "inflow", key3 = "file")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.