sen90 | R Documentation |
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.
data(sen90)
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. |
Keith Poole ktpoole@uga.edu
Jeffrey Lewis jblewis@ucla.edu
James Lo lojames@usc.edu
Royce Carroll rcarroll@rice.edu
Voteview team. 2017. 90th Senate Roll Call Vote Data. https://voteview.com/static/data/out/votes/S090_votes.ord.
'oc'.
#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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.