hsResolve: Resolve Placeholders in Dictionary

View source: R/dictionary.R

hsResolveR Documentation

Resolve Placeholders in Dictionary

Description

Resolve strings according to substitutions defined in dictionary

Usage

hsResolve(x, dict = NULL, ..., dbg = FALSE)

Arguments

x

(vector of) string expression(s) to be resolved using the dictionary dict.

dict

dictionary: list with named elements where the element name represents the key and the element value represents the value assigned to the key.

...

additional named arguments that are added to dict before resolving

dbg

if TRUE (the default is FALSE) debug messages are shown

Value

The (resolved) value is returned


KWB-R/kwb.utils documentation built on April 28, 2023, 2:46 p.m.