Skip to contents

This function does the same thing as kwb.utils::exposure_value_or_stop(), but it is bundled with ambre to avoid a hard dependency on the unmaintained package.

Usage

get_exposure_value_or_stop(config, name)

Arguments

config

list config

name

character name of the column

Value

value

Details

Description

References

Sonnenberg H (2024). kwb.utils: General Utility Functions Developed at KWB. R package version 0.15.0 URL: https://github.com/kwb-r/kwb.utils (MIT Licence)

Examples

get_exposure_value_or_stop(config_ambre, "number_of_exposures")
#> [1] 365