sen90: 90th U.S. Senate Roll Call Vote Matrix

Description Usage Value Author(s) Source See Also Examples

Description

This dataframe contains a matrix of votes cast by U.S. Senators in the 90th Congress. The data are formatted consistent with the rollcall object format in Simon Jackman's pscl package.

Usage

1

Value

The dataframe contains roll call data for all Senators in the 90th Senate. The data is formatted as a rollcall object with the following elements.

votes

data frame, containing all data from the old nom31.dat file about legislators. For a typical W-NOMINATE object run with an ORD file read using readKH, it will contain the following:

  • state State name of legislator.

  • icpsrState ICPSR state code of legislator.

  • cd Congressional District number.

  • icpsrLegis ICPSR code of legislator.

  • party Party of legislator.

  • partyCode ICPSR party code of legislator.

codes

list of four vectors. yea shows the codes in votes that are yea votes, 'nay' shows nay codes, notInLegis shows absences, and missing shows the missing codes.

n

numeric, number of legislators

m

numeric, number of roll calls

legis.data

data frame, containing the following information on legislators:

  • state State name of legislator.

  • icpsrState ICPSR state code of legislator.

  • cd Congressional District number.

  • icpsrLegis ICPSR code of legislator.

  • party Party of legislator.

  • partyCode ICPSR party code of legislator.

vote.data

null, would otherwise be a data frame containing data on the votes.

desc

null, would otherwise be a string describing the data set.

source

string, describing where data set was read from.

Author(s)

Keith Poole [email protected]

Jeffrey Lewis [email protected]

James Lo [email protected]

Royce Carroll [email protected]

Source

Keith Poole. 2005. 90th Senate Roll Call Vote Data.

See Also

'wnominate'.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
    #This data file is the same as reading file using:
    #sen90 <- readKH("ftp://voteview.com/sen90kh.ord")
    #All ORD files can be found on www.voteview.com
    data(sen90)
    
    summary(sen90)
    #sen90wnom <- wnominate(sen90,polarity=c(2,5))
    #'sen90wnom' is the same nomObject as found in 
    data(sen90wnom)
    summary(sen90wnom)
    plot(sen90wnom)

Example output

Loading required package: pscl
Classes and Methods for R developed in the
Political Science Computational Laboratory
Department of Political Science
Stanford University
Simon Jackman
hurdle and zeroinfl functions by Achim Zeileis

## W-NOMINATE Ideal Point Package
## Copyright 2006 -2018
## Keith Poole, Jeffrey Lewis, James Lo, and Royce Carroll
## Support provided by the U.S. National Science Foundation
## NSF Grant SES-0611974

Source:		 C:/sen90kh.ord 

Number of Legislators:		 102
Number of Roll Call Votes:	 596


Using the following codes to represent roll call votes:
Yea:		 1 2 3 
Nay:		 4 5 6 
Abstentions:	 7 8 9 
Not In Legislature:	 0 

Party Composition:
 D  R 
65 37 

Vote Summary:
               Count Percent
0 (notInLegis)   690     1.1
1 (yea)        26989    44.4
2 (yea)         1065     1.8
3 (yea)         2924     4.8
4 (nay)         1504     2.5
5 (nay)         1047     1.7
6 (nay)        20206    33.2
8 (missing)        1     0.0
9 (missing)     6366    10.5

Use summary(sen90,verbose=TRUE) for more detailed information.


SUMMARY OF W-NOMINATE OBJECT
----------------------------

Number of Legislators:	  102 (0 legislators deleted)
Number of Votes:	  519 (77 votes deleted)
Number of Dimensions:	  2
Predicted Yeas:		  20212 of 23899 (84.6%) predictions correct
Predicted Nays:		  18920 of 22541 (83.9%) predictions correct
Correct Classifiction:	  80.44% 84.26%
APRE:			  0.348 0.476
GMP:			  0.658 0.706 


The first 10 legislator estimates are:
                 coord1D coord2D
JOHNSON (D USA)   -0.451  -0.152
SPARKMAN (D AL)    0.232   0.715
HILL (D AL)        0.374   0.839
GRUENING (D AK)   -0.719   0.695
BARTLETT (D AK)   -0.440   0.503
HAYDEN (D AZ)      0.016   0.837
FANNIN (R AZ)      0.829  -0.236
FULBRIGHT (D AR)   0.035   0.666
MCCLELLAN (D AR)   0.631   0.573
KUCHEL (R CA)     -0.075  -0.570
NULL

wnominate documentation built on Feb. 12, 2018, 1:02 a.m.