ccc_samp: Sample cumulative CCES data

ccc_sampR Documentation

Sample cumulative CCES data

Description

The cumulative CCES stacks CCES common content for all years and harmonizes the variables, which makes it ideal for using it for MRP. This is a sample for illustration; see get_cces_dataverse to get the full data.

Usage

ccc_samp

Format

A data frame with 1000 observations. See the CCES cumulative codebook for more explanation of the variables

year

Year of the common content

case_id

Respondent identifier (unique within each year)

state

State (in the form of state.name)

st

State Abbreviation (in the form of state.abb)

cd

Congressional district at the time of the survey. See ccc_std_demographics for how it is and should be standardized.

zipcode

Zipcode (See codebook)

county_fips

County FIPS code (See codebook)

gender

Gender (equivalent to sex in ACS for the purposes of this package)

age

Age, in integers

race

Race and ethnicity

hispanic

Hispanic identifier

educ

Education level

faminc

Family Income

marstat

Martial status

newsint

Frequency of following the news

vv_turnout_gvm

Validated turnout in general election

voted_pres_16

Self-reported vote choice for 2016

economy_retro

Opinion on retrospective economy

Details

This is encoded as a RDS file with some variables stored in the Stata-based integer + labelled class instead of as factors. See the CCES cumulative guide for the difference between the two and how to go from one to another.

Source

Kuriwaki, Shiro, 2018, "Cumulative CCES Common Content (2006-2019)", https://doi.org/10.7910/DVN/II2DB6, Harvard Dataverse

Examples

library(ccesMRPprep)
ccc_samp


kuriwaki/ccesMRPprep documentation built on July 27, 2023, 3:34 a.m.