Create json file for vocabulary mappings. Keys are synonyms and values are the CDISC Controlled Terminology Submission values. Vocabularies are defined by column values from the tab-delimited files.
Source:R/xptCleanerWrapper.R
gen_vocab.Rd
Create json file for vocabulary mappings. Keys are synonyms and values are the CDISC Controlled Terminology Submission values. Vocabularies are defined by column values from the tab-delimited files.
Arguments
- in_file
Mandatory.
List of tab-delimited files with synonyms and preferred terms.- out_path
Mandatory.
output json filename.
Examples
if (FALSE) {
gen_vocab(list(infile1, infile2),jsonfile)
}