View source: R/get_json_value.R
get_json_value | R Documentation |
Extracts values from a json file by locating the label and key within the json file.
get_json_value(file, label, key)
file |
filepath; to json file |
label |
string; which corresponds to section where the key is located |
key |
string; name of key in which to extract the value |
Tadhg Moore, Jorrit Mesman
## Not run:
input_json(file = "samp.par", label = "ModelParameters", key = "f_wind", value = 1.2, out_file = NULL)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.