import_spss: Import SPSS data

Description Usage Arguments Details Value Examples

Description

Function to import sav files while extracting variable and value labels.

Usage

1
import_spss(filePath)

Arguments

filePath

Source file location, ending on .sav

Details

SPSS files (.sav) store variable and value labels. Via import_spss data frames are imported and transformed to data frames. The meta-information is stored seperately in a long format data frame. Important Note: To get labels, missings have to be given explicit labels in SPSS! Additional missing column is generated.

Value

Returns a list with a) the actual data and b) a data frame with all variable and value labels in long format.

Examples

1
2
# Example data set
to be done

b-becker/eatGADS documentation built on May 24, 2019, 8:47 p.m.