gss14_f: GSS 2014 select variables as factors.

Description Usage Format Source See Also

Description

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.

Usage

1

Format

A data frame with 2538 rows and 4 variables:

bible

Factor, feelings about the bible.

relig

Factor, respondents religious preference.

denom

Factor, specific denomination.

other

Factor, other Protestant denominations.

Source

GSS 2014

See Also

read.spss read_sav


mdjeric/resurrectionr documentation built on May 9, 2019, 7:35 p.m.