hr111 | R Documentation |
An object of class rollcall
that contains information about legislators and votes from the 111th senate.
data(hr111)
A 112x696 matrix of votes for all of the legislators.
A list containing the maps of numerical values to yea, nay, NIL and missing votes.
Number of rows in votes
Number of columns in votes
A data frame comtaining information about the legislators - state, state code, congressional district, ICPSR legislator code, party and numeric party code
NULL
Descriptive text for the dataset
NULL
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..
https://legacy.voteview.com/senate111.htm
data(hr111)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.