Learn R Programming

pscl (version 1.5.5)

nj07: rollcall object, National Journal key votes of 2007

Description

A rollcall object containing 99 rollcalls from the 2nd session of the 110th U.S. Senate, designated by National Journal as the "key votes" of 2007. These data were used to by National Journal to rate (then Senator) Barack Obama was the "most liberal senator" in 2007.

Usage

data(nj07)

Arguments

Format

A rollcall object containing the recorded votes, plus information identifying the legislators and the rollcalls.

Details

Note the coding scheme used by Poole and Rosenthal; Yea (1,2,3), Nay (4,5,6) etc.

References

Clinton, Joshua and Simon Jackman. 2009. To Simulate or NOMINATE? Legislative Studies Quarterly. V34(4):593-621.

Jackman, Simon. 2009. Bayesian Analysis for the Social Sciences. Wiley: Hoboken, New Jersey. Example 9.2.

Examples

Run this code
require(pscl)
data(nj07)
is(nj07,"rollcall")    ## TRUE
nj07                   ## print method for class rollcall
names(nj07)
names(nj07$vote.data)
table(nj07$vote.data$policyArea)
summary(nj07)          ## summary method
summary(nj07,verbose=TRUE)

Run the code above in your browser using DataLab