If the input is XLSX, sheets named "key" and "varlab" are imported if the exist. If input is CSV, then the key CSV file is imported and another file suffixed with "-varlab" is imported if it exists.
keyRead(file, ..., na.strings = c("\\s+"))
name of file to be imported, including path to file. file name must end in "csv", "xlsx" or "rds"
additional arguments for read.csv or read.xlsx.
Values to be converted to R missing symbol NA. Default is white space, "\s+".
A data frame or matrix.
The variable lables are a named vector saved as an attribute of the key object.