Skip to contents

Reads a config JSON file from the herald-rules cache, then loads only the YAML rules referenced by that config.

Usage

load_herald_config(config_id, cache_dir = NULL)

Arguments

config_id

Config identifier (e.g., "fda-sdtm-ig-3.3").

cache_dir

Path to herald-rules cache. Default uses herald_cache_dir().

Value

A list of herald_rule objects with a "ct_data" attribute containing resolved controlled terminology.

Examples

if (FALSE) { # \dontrun{
rules <- load_herald_config("fda-sdtm-ig-3.3")
} # }