a character vector of key variables for the specified domain
Arguments
domain
string, SDTM domain or supplemental domain code
dir
string, specification directory
filename
string, file name of the specification
datasets_sheet
a string, the sheet name in the specification Excel
file that has the key variables, default is "Datasets"
dataset_col
a string, the column name of the domains in the table in
datasets_sheet, default is "Dataset"
keyvar_col
a string, the column name of the key variables in the table
in datasets_sheet, default is "Key Variables"
Details
The readxl::read_excel() function will causes an access denied warning when
reading in a read-only specification file. This does not affect the data
import.