Apply label and variable ordering attributes to domains.
Examples
seed <- 1
adsl <- radsl(seed = seed)
adsub <- radsub(adsl, seed = seed)
yaml_path <- file.path(path.package("random.cdisc.data"), "inst", "metadata")
adsl <- apply_metadata(adsl, file.path(yaml_path, "ADSL.yml"), FALSE)
adsub <- apply_metadata(
adsub, file.path(yaml_path, "ADSUB.yml"), TRUE,
file.path(yaml_path, "ADSL.yml")
)