get_cui_code() returns an English-language translation of the CUI dissemination codes. It supersedes get_cui(), which has been deprecated.

get_cui_code(eml_object)

Arguments

eml_object

is an R object imported (typically from an EML-formatted .xml file) using EmL::read_eml(, from="xml").

Value

a text string

Details

get_cui_code() accesses the contents of the Controlled Unclassified Information (CUI) tag, and returns an appropriate string of english-language text based on the properties of the CUI code. If thee tag is empty or does not exist, get_cui alerts the user and suggests specifying CUI using the set_cui() funciton.

Examples

if (FALSE) { # \dontrun{
get_cui(eml_object)
} # }