gen_vocab: Create json file for vocabulary mappings. Keys are synonyms...

View source: R/xptCleanerWrapper.R

gen_vocabR Documentation

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.

Description

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.

Usage

gen_vocab(in_file, out_path)

Arguments

in_file

Mandatory.
List of tab-delimited files with synonyms and preferred terms.

out_path

Mandatory.
output json filename.

Value

No return value, called for side effects

Examples

## Not run: 
gen_vocab(list(infile1, infile2),jsonfile)

## End(Not run)

sendigR documentation built on Aug. 18, 2022, 9:07 a.m.