| write_spss {sjlabelled} | R Documentation |
These functions write the content of a data frame to an SPSS, SAS or Stata-file.
write_spss(x, path, drop.na = FALSE) write_stata(x, path, drop.na = FALSE, version = 14) write_sas(x, path, drop.na = FALSE)
x |
A data frame that should be saved as file. |
path |
File path of the output file. |
drop.na |
Logical, if |
version |
File version to use. Supports versions 8-14. |
You don't need to take care whether variables have been imported with
the read_* function from this package or from haven
or even the foreign package, or if you have imported data and
created new variables. These functions do all necessary data preparation
to write a properly labelled data file.