sen90 {oc} | R Documentation |
90th U.S. Senate Roll Call Vote Matrix
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
data(sen90)
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
|
codes |
list of four vectors. |
n |
numeric, number of legislators |
m |
numeric, number of roll calls |
legis.data |
data frame, containing the following information on legislators:
|
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 ktpoole@uga.edu
Jeffrey Lewis jblewis@ucla.edu
James Lo lojames@usc.edu
Royce Carroll rcarroll@rice.edu
Source
Voteview team. 2017. 90th Senate Roll Call Vote Data. https://voteview.com/static/data/out/votes/S090_votes.ord.
See Also
'oc'.
Examples
#This data file is the same as reading file using:
## Not run:
sen90 <- readKH("https://voteview.com/static/data/out/votes/S090_votes.ord")
## End(Not run)
data(sen90)
summary(sen90)
#Output file identical to one produced by command below
## Not run:
sen90oc <- oc(sen90,dims=2,polarity=c(7,2))
## End(Not run)
data(sen90oc)
summary(sen90oc)
plot(sen90oc)