ccc_samp | R Documentation |
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.
ccc_samp
A data frame with 1000 observations. See the CCES cumulative codebook for more explanation of the variables
Year of the common content
Respondent identifier (unique within each year)
State (in the form of state.name
)
State Abbreviation (in the form of state.abb
)
Congressional district at the time of the survey. See ccc_std_demographics for how it is and should be standardized.
Zipcode (See codebook)
County FIPS code (See codebook)
Gender (equivalent to sex in ACS for the purposes of this package)
Age, in integers
Race and ethnicity
Hispanic identifier
Education level
Family Income
Martial status
Frequency of following the news
Validated turnout in general election
Self-reported vote choice for 2016
Opinion on retrospective economy
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.
Kuriwaki, Shiro, 2018, "Cumulative CCES Common Content (2006-2019)", https://doi.org/10.7910/DVN/II2DB6, Harvard Dataverse
library(ccesMRPprep)
ccc_samp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.