get_voteview_rollcall_votes {filibustr} | R Documentation |
get_voteview_rollcall_votes()
returns a tibble with information on recorded
(roll call) votes in the House and Senate.
get_voteview_rollcall_votes(
chamber = "all",
congress = NULL,
local = TRUE,
local_dir = "."
)
chamber |
Which chamber to get data for. Options are:
|
congress |
A whole number (to get data for a single Congress), or
a numeric vector (to get data for a set of congresses).
Optional; will retrieve data for all Congresses by default.
If specified, Congress numbers cannot be greater than the |
local |
|
local_dir |
|
See the Voteview website for more information on their data.
Please cite this dataset as:
Lewis, Jeffrey B., Keith Poole, Howard Rosenthal, Adam Boche, Aaron Rudkin, and Luke Sonnet (2023). Voteview: Congressional Roll-Call Votes Database. https://voteview.com/
A tibble()
.
get_voteview_rollcall_votes()
# Force to get data from Voteview website
get_voteview_rollcall_votes(local = FALSE)
# Get data for only one chamber
# NOTE: the President is included in all data
get_voteview_rollcall_votes(chamber = "house")
get_voteview_rollcall_votes(chamber = "senate")
# Get data for a specific Congress
get_voteview_rollcall_votes(congress = 100)
get_voteview_rollcall_votes(congress = current_congress())
# Get data for a set of Congresses
get_voteview_rollcall_votes(congress = 1:10)