hr111: 111th Senate Roll Call

hr111R Documentation

111th Senate Roll Call

Description

An object of class rollcall that contains information about legislators and votes from the 111th senate.

Usage

data(hr111)

Format

votes

A 112x696 matrix of votes for all of the legislators.

codes

A list containing the maps of numerical values to yea, nay, NIL and missing votes.

n

Number of rows in votes

m

Number of columns in votes

legis.data

A data frame comtaining information about the legislators - state, state code, congressional district, ICPSR legislator code, party and numeric party code

vote.data

NULL

desc

Descriptive text for the dataset

source

NULL

Details

We generated the data by doing the following:

library(pscl) hr111 <- readKH("Chapter6_Examples/sen111kh.ord", dtl=NULL, yea=c(1,2,3), nay=c(4,5,6), missing=c(7,8,9), notInLegis=0, desc="111th Senate Roll Call Data", debug=FALSE)

readKH() requires several arguments: the location of the roll call file, dtl (the location of an ancillary dtl file containing information about the votes, defaults to NULL), the vote codes for Yea, Nay, Missing, and Not In Legislature, a short description of the roll call data, and debug (whether to print debugging information if downloading the file from the internet, defaults to FALSE). In the Poole-Rosenthal files, Yea votes are coded as 1, 2, or 3; Nay votes as 4, 5, or 6; Missing or Abstention votes as 7, 8, or 9; and those who were not in the legislature at the time of the vote as 0. The code 1 indicates voting Yea, 2 paired Yea, 3 announced Yea; 4, announced Nay, 5 paired Nay, 6 voting Nay..

Source

https://legacy.voteview.com/senate111.htm

Examples

data(hr111)

davidaarmstrong/asmcjr documentation built on June 29, 2024, 12:07 p.m.