- excelFile
path and filename of the data file containing the data and
dictionary
- dictionarySheet
name of the sheet containing the data dictionary,
defaults to 'DataDictionary'
- dataSheet
name of the data entry sheet within the file, defaults to
'DataEntry'
- id
String indicating the ID variable, to display errors by ID instead
of row number
- saveWarnings
Boolean, if TRUE and there are any warnings then the
function will return a list with the data frame and the import warnings
- setErrorsMissing
Boolean, if TRUE all values out of range will be set
to NA
- use_labels
should variable descriptions be added as variable label
attributes, default is TRUE
- range
Optional, Range of Excel sheet to restrict import to (ie.
range="A1:F6")
- colnames
Optional, Column names of the dictionary, defaults to those
used in the Excel template: c('VariableName', 'Description (optional)',
'Type', 'Minimum', 'Maximum', 'Levels')
- origin
Optional, the date origin of Excel dates, defaults to 30
December 1899
- timeUnit
Character specifying the unit of time that should be used
when creating survival type variables. Allowed values are from lubridate
(ex: 'day' 'week' 'month' 'year')