Scaling legislative roll call votes with wnominate
We’ve used NOMINATE scaling data before here at is.R(), but today’s Gist shows, in just a few lines of code, how to download up-to-date roll call data and run those votes through Keith Poole (et. al.)’s DW-NOMINATE procedure.
It’s really very straightforward — the tricky parts are getting the roll call object in the proper format (if it’s not already) and specifying the polarity option to indicate a conservative in every dimension. Perhaps unsurprisingly, the parties are quite distinct in the most recent Senate data:
To leave a comment
for the author, please follow the link and comment on their blog: is.R()
offers daily e-mail updates
news and tutorials
on topics such as: visualization (ggplot2
), programming (RStudio
, Web Scraping
) statistics (regression
, time series
) and more...
If you got this far, why not subscribe for updates
from the site? Choose your flavor: e-mail
, or facebook