loadSPSS: Load SPSS file

loadSPSSR Documentation

Load SPSS file

Description

Wrapper function around foreign::read.spss() to load SPSS data files into a data frame. Specifies default values to facilitate process.

Usage

loadSPSS(filePath = "", factorLabels = FALSE, dfConvert = TRUE)

Arguments

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.

Value

A dataframe with the contents of the SPSS file.


awatanabe/appr documentation built on Sept. 26, 2022, 8:04 a.m.