- files
Character vector with path to ADaM or SDTM file(s).
Currently only import of files with extension: 'sas7bdat' or 'xpt' are supported.
- data
Named list with raw vector data
(as supported by: read_sas and read_xpt).
The list should be named with the file name (or full path)
the data has been imported from (e.g.: 'ae.xpt' or '/path/to/data.adsl.sas7bdat').
- convertToDate
logical, if TRUE columns with date/time are converted to
POSIXct
format, which stores calendar date/time in R.
Please note that most of the time this is not necessary, as date variables
are automatically imported via the haven
package if encoded correctly in the dataset.
- dateVars
vector of columns in data
containing date/time,
or pattern for this columns.
By default all columns ending with 'DTC' are used (dateVars is: 'DTC$').
- verbose
logical, if TRUE (by default) progress messages are printed during execution.
- encoding
String with encoding, only used if files
is of extension: 'sas7bdat',
'UTF-8' by default.
- ...
Additional parameters for the read_sas
or
read_xpt
functions, depending on the input file type.