Learn R Programming

sjmisc (version 1.0.2)

read_sas: Import SAS dataset as data frame into R

Description

Imports data from SAS (.sas7bdat), including NA's, value and variable labels.

Usage

read_sas(path, path.cat = NULL, atomic.to.fac = FALSE)

Arguments

path
The file path to the SAS data file.
path.cat
optional, the file path to the SAS catalog file.
atomic.to.fac
Logical, if TRUE, factor variables imported from SAS (which are imported as atomic) will be converted to factors.

Value

See Also

read_spss