| keyRead | R Documentation | 
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+"))
file | 
 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.  | 
na.strings | 
 Values to be converted to R missing symbol NA. Default is white space, "\s+".  | 
The variable lables are a named vector saved as an attribute of the key object.
A data frame or matrix.
Paul Johnson <pauljohn@ku.edu>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.