Read SPSS Data File

Description

Reads an SPSS .sav file, converts user-missing values to NA, and removes all labels. Optionally applies any active SPSS filter variable.

Usage

get_spss_data(file_path, check_filter = TRUE, verbose = FALSE)

Arguments

file_path Character string. Path to the .sav file.
check_filter Logical. If TRUE, checks for and applies any active SPSS filter variable. Default is TRUE.
verbose Logical. If TRUE, prints diagnostic information. Default is FALSE.

Value

A tibble with numeric values and no SPSS labels.