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_n was imported through haven, and thus variables are specific numeric labelled variables, with attributes "label" for description, "format.spss" for SPSS format, and "labels" which are names for levels.

gss14_n

Format

bible

Labelled num, feelings about the bible.

relig

Labelled num, respondents religious preference.

denom

Labelled num, specific denomination.

other

Labelled num, other Protestant denominations.

Source

GSS 2014

See also