write_spss2 | R Documentation |
GADSdat
object to txt
and SPSS
syntaxWrite a GADSdat
object to a text file (txt
) and an accompanying SPSS
syntax file containing all meta information (e.g. value and variable labels).
write_spss2(
GADSdat,
txtPath,
spsPath = NULL,
savPath = NULL,
dec = ".",
fileEncoding = "UTF-8",
chkFormat = TRUE,
...
)
GADSdat |
A |
txtPath |
Path of |
spsPath |
Path of |
savPath |
Path of |
dec |
Decimal delimiter for your SPSS version. Other values for |
fileEncoding |
Data file encoding for SPSS. Default is |
chkFormat |
Whether format checks via |
... |
Arguments to pass to |
This function is based on eatPreps
writeSpss
function and is currently under development.
Writes a txt
and an sav
file to disc, returns nothing.
# write to spss
tmp_txt <- tempfile(fileext = ".txt")
write_spss2(pisa, txtPath = tmp_txt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.