cps_allyears_10k {cpsvote}R Documentation

A sample of the full CPS dataset

Description

This is a 10,000 row sample of the data that comes out of cpsvote::cps_load_basic.

Usage

cps_allyears_10k

Format

A tibble with 10,000 rows and 25 columns:

FILE

Which default file the case came from

YEAR

Year of interview

STATE

State postal abbreviation

AGE

Person's age as of the end of survey week; topcoded at 90 until 2002, 80 in 2004, and 80/85 after

SEX

Binary sex

EDUCATION

Highest level of school completed or degree received

RACE

Race

HISPANIC

Hispanic status

WEIGHT

Original CPS survey weight

VRS_VOTE

Whether respondent voted in the election; self-reported

VRS_REG

Whether respondent was registered to vote in the election; self-reported

VRS_VOTE_TIME

What time of day respondent voted

VRS_RESIDENCE

Duration of time living at current address

VRS_VOTE_WHYNOT

Reason for not voting

VRS_VOTEMETHOD_1996to2002

Method of voting, pre-2004

VRS_REG_SINCE95

Whether respondent had registered to vote since 1995

VRS_REG_DMV

Whether respondent registered at the DMV

VRS_REG_METHOD

Method of registration

VRS_REG_WHYNOT

Reason for not being registered to vote

VRS_VOTEMODE_2004toPRESENT

Whether respondent voted by mail, 2004 on

VRS_VOTEWHEN_2004toPRESENT

Whether respondent voted on election day or before, 2004 on

VRS_VOTEMETHOD_CON

A consolidation of VRS_VOTEMETHOD_1996to2002, VRS_VOTEMODE_2004toPRESENT, and VRS_VOTEWHEN_2004toPRESENT

cps_turnout

Recode of VRS_VOTE for CPS turnout calculation

hurachen_turnout

Recode of VRS_VOTE for adjusted Hur & Achen turnout calculation

turnout_weight

Adjusted weight for calculating voter turnout (per Hur & Achen)


[Package cpsvote version 0.1.0 Index]