Reads a dataset from a path, supporting .sas7bdat, .xpt, and .csv files.
The original file path is retained as an attribute "path" on the returned data.
The file modification time ("mtime") is also set as an attribute.
Arguments
- path
Character. Path to the file to read.
- ...
Additional arguments passed to
data.table::fread(for .CSVs).- record_input
Logical. Reserved for future use; currently ignored. Default is
TRUE.
