loadSPSS | R Documentation |
Wrapper function around foreign::read.spss()
to load SPSS data files into a data frame. Specifies default values to facilitate process.
loadSPSS(filePath = "", factorLabels = FALSE, dfConvert = TRUE)
filePath |
Path to SPSS file to load into memory. |
factorLabels |
Convert variables with values as a factors with those levels. |
dfConvert |
Boolean whether to convert file to dataframe. Otherwise returns as list. |
A dataframe with the contents of the SPSS file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.