get_config_value: Extract value from any LER model config file

View source: R/get_config_value.R

get_config_valueR Documentation

Extract value from any LER model config file

Description

Wrapper function for functions that extract values from model config files

Usage

get_config_value(model, file, label, key)

Arguments

model

string; name of a model in the LER package

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

Examples

## Not run: 
get_config_value(model = "GOTM", file = "gotm.yaml", label = "turb_param", key = "k_min")

## End(Not run)


aemon-j/LakeEnsemblR documentation built on April 11, 2025, 10:09 p.m.