aesi_label(aesi, scope = NULL)
A string
with the standard label for the AE basket.
adae <- tern_ex_adae
# Standardized query label includes scope.
aesi_label(adae$SMQ01NAM, scope = adae$SMQ01SC)
#> [1] "C.1.1.1.3/B.2.2.3.1 aesi (BROAD)"
# Customized query label.
aesi_label(adae$CQ01NAM)
#> [1] "D.2.1.5.3/A.1.1.1.1 aesi"