R Dataset / Package Zelig / voteincome

On this R-data statistics page, you will find information about the voteincome data set which pertains to Sample Turnout and Demographic Data from the 2000 Current Population Survey. The voteincome data set is found in the Zelig R package. You can load the voteincome data set in R by issuing the following command at the console data("voteincome"). This will load the data into a variable called voteincome. If R says the voteincome data set is not found, you can try installing the package by issuing this command install.packages("Zelig") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the voteincome R data set. The size of this file is about 32,682 bytes.

Sample Turnout and Demographic Data from the 2000 Current Population Survey

Description

This data set contains turnout and demographic data from a sample of respondents to the 2000 Current Population Survey (CPS). The states represented are South Carolina and Arkansas. The data represent only a sample and results from this example should not be used in publication.

Usage

data(voteincome)

Format

A data frame containing 7 variables ("state", "year", "vote", "income", "education", "age", "female") and 1500 observations.

state

a factor variable with levels equal to "AR" (Arkansas) and "SC" (South Carolina)

year

an integer vector

vote

an integer vector taking on values "1" (Voted) and "0" (Did Not Vote)

income

an integer vector ranging from "4" (Less than \$5000) to "17" (Greater than \$75000) denoting family income. See the CPS codebook for more information on variable coding

education

an integer vector ranging from "1" (Less than High School Education) to "4" (More than a College Education). See the CPS codebook for more information on variable coding

age

an integer vector ranging from "18" to "85"

female

an integer vector taking on values "1" (Female) and "0" (Male)

Source

Census Bureau Current Population Survey

References

http://www.census.gov/cps

Dataset imported from https://www.r-project.org.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-zelig-voteincome.html" width="100%" height="100%" style="border:0px"></iframe>