Learn R Programming

sjmisc (version 1.2)

write_stata: Write content of data frame to STATA dta-file

Description

This function saves the content of a data frame to an STATA dta-file.

Usage

write_stata(x, path, enc.to.utf8 = TRUE)

Arguments

x
data.frame that should be saved as file.
path
File path of the output file.
enc.to.utf8
Logical, if TRUE, character encoding of variable and value labels will be converted to UTF-8.

See Also

write_spss