census: Quasi census data.

censusR Documentation

Quasi census data.

Description

The census file is generated from the full 2008 Cooperative Congressional Election Studies item cc418_1 by dissaggregating the 64 ideal type combinations of the individual level variables L1x1, L2x2 and L1x3. A row is an ideal type in a given state.

Usage

census

Format

A data frame with 2934 rows and 13 variables:

state

U.S. state

L2.unit

U.S. state id

region

U.S. region (four categories: 1 = Northeast; 2 = Midwest; 3 = South; 4 = West)

L1x1

Age group (four categories)

L1x2

Education level (four categories)

L1x3

Gender-race combination (six categories)

proportion

State-level proportion of respondents of that ideal type in the population

L2.x1

State-level share of votes for the Republican candidate in the previous presidential election

L2.x2

State-level percentage of Evangelical Protestant or Mormon respondents

L2.x3

State-level percentage of the population living in urban areas

L2.x4

State-level unemployment rate

L2.x5

State-level share of Hispanics

L2.x6

State-level share of Whites

Source

The data set (excluding L2.x3, L2.x4, L2.x5, L2.x6) is taken from the article: Buttice, Matthew K, and Benjamin Highton. 2013. "How does multilevel regression and poststrat-stratification perform with conventional national surveys?" Political Analysis 21(4): 449-467. L2.x3, L2.x3, L2.x4, L2.x5 and L2.x6 are available at https://www.census.gov.


autoMrP documentation built on May 29, 2024, 6:40 a.m.