gesis_spss_read.Rd
Read in a GESIS SPSS file
Read in an SPSS file archived in GESIS and change the variables to R classes for further use.
gesis_spss_read( path = NULL, zacat_id = NULL, rename = TRUE, unique_id = TRUE, conversion = "labelled" )
path | An object to be converted to character |
---|---|
zacat_id | Default to |
rename | Default to |
unique_id | It makes sense to call harmonize the variable name which
contains the unique, serial identifier within the SPSS file. Defaults to
|
conversion | Defaults to |
A tibble (data.frame) with R classes defined by the user in the
case of non-numeric data (i.e.'labelled'
, 'factor'
,
or 'character'
)
if (FALSE) { ##use your own file: gesis_spss_read( path = file.path ( 'not_included', 'example.sav'), zacat_id = NULL ) }