Four varaibles from US Genearl Social Survey from 2014, three describe
respondent's religious identification(relig
, denom
, other
),
and fourth bible
is for biblical litteracy, or answers on the question
if the bible is "the word of god", "inspired word", "book of fables", or "other".
Data is used in vignettes, to demonstrate the use of
recode_religion
, and to provide some comparison between
the use of packages foreign
and haven
in importing SPSS data
and their different recoding of categorical variables from GSS. gss14_f
was imported through foreign
, with use of following options:
to.data.frame = TRUE, trim.factor.names = TRUE, trim_values = TRUE,
use.missings = FALSE
, accordingly varaibles are factors without missing
values.
gss14_f
Factor, feelings about the bible.
Factor, respondents religious preference.
Factor, specific denomination.
Factor, other Protestant denominations.