Learn R Programming

sjmisc (version 1.0.2)

read_stata: Import STATA dataset as data frame into R

Description

Imports data from STATA dta-files, including NA's, value and variable labels.

Usage

read_stata(path, atomic.to.fac = FALSE)

Arguments

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

Value

See Also

read_spss