Votes: Congressional Votes 1984 Data Set

Description Usage Format Details Source References Examples

Description

This data set includes votes for each of the U.S. House of Representatives Congressmen on the 16 key votes identified by the CQA. The CQA lists nine different types of votes: voted for, paired for, and announced for (these three simplified to yea), voted against, paired against, and announced against (these three simplified to nay), voted present, voted present to avoid conflict of interest, and did not vote or otherwise make a position known (these three simplified to an unknown disposition).

Usage

1

Format

A data frame with 435 observations on the following 17 variables.

handicapped-infants

a factor with levels n and y

water-project-cost-sharing

a factor with levels n and y

adoption-of-the-budget-resolution

a factor with levels n and y

physician-fee-freeze

a factor with levels n and y

el-salvador-aid

a factor with levels n and y

religious-groups-in-schools

a factor with levels n and y

anti-satellite-test-ban

a factor with levels n and y

aid-to-nicaraguan-contras

a factor with levels n and y

mx-missile

a factor with levels n and y

immigration

a factor with levels n and y

synfuels-corporation-cutback

a factor with levels n and y

education-spending

a factor with levels n and y

superfund-right-to-sue

a factor with levels n and y

crime

a factor with levels n and y

duty-free-exports

a factor with levels n and y

export-administration-act-south-africa

a factor with levels n and y

Class

a factor with levels democrat and republican

Details

The records are drawn from:

Congressional Quarterly Almanac, 98th Congress, 2nd session 1984, Volume XL: Congressional Quarterly Inc. Washington, D.C., 1985.

It is important to recognize that NA in this database does not mean that the value of the attribute is unknown. It means simply, that the value is not "yea" or "nay" (see above).

Source

http://www.ics.uci.edu/~mlearn/MLRepository.html

References

Blake, C.L. & Merz, C.J. (1998). UCI Repository of Machine Learning Databases. Irvine, CA: University of California, Department of Information and Computer Science.

Examples

1
2
3
data(Votes)
summary(Votes)
## maybe str(Votes) ; plot(Votes) ...

Example output

Loading required package: grid
Loading required package: proxy

Attaching package: 'proxy'

The following objects are masked from 'package:stats':

    as.dist, dist

The following object is masked from 'package:base':

    as.matrix

 handicapped-infants water-project-cost-sharing
 n   :236            n   :192                  
 y   :187            y   :195                  
 NA's: 12            NA's: 48                  
 adoption-of-the-budget-resolution physician-fee-freeze el-salvador-aid
 n   :171                          n   :247             n   :208       
 y   :253                          y   :177             y   :212       
 NA's: 11                          NA's: 11             NA's: 15       
 religious-groups-in-schools anti-satellite-test-ban aid-to-nicaraguan-contras
 n   :152                    n   :182                n   :178                 
 y   :272                    y   :239                y   :242                 
 NA's: 11                    NA's: 14                NA's: 15                 
 mx-missile immigration synfuels-corporation-cutback education-spending
 n   :206   n   :212    n   :264                     n   :233          
 y   :207   y   :216    y   :150                     y   :171          
 NA's: 22   NA's:  7    NA's: 21                     NA's: 31          
 superfund-right-to-sue  crime     duty-free-exports
 n   :201               n   :170   n   :233         
 y   :209               y   :248   y   :174         
 NA's: 25               NA's: 17   NA's: 28         
 export-administration-act-south-africa        Class    
 n   : 62                               democrat  :267  
 y   :269                               republican:168  
 NA's:104                                               

cba documentation built on May 2, 2019, 1:39 p.m.

Related to Votes in cba...