get_hvw_data()
returns replication data from:
Harbridge-Yong, L., Volden, C., & Wiseman, A. E. (2023). The bipartisan path to effective lawmaking. The Journal of Politics, 85(3), 1048–1063. tools:::Rd_expr_doi("doi:10.1086/723805")
get_hvw_data(chamber, local_path = NULL)
A tibble.
Which chamber to get data for. Options are:
"house"
, "h"
, "hr"
: House data only.
"senate"
, "s"
, "sen"
: Senate data only.
These options are case-insensitive. Any other argument results in an error.
Note: Unlike the Voteview functions, there is no "all"
option.
The House and Senate data do not have the same number of variables,
or the same variable names, so it is not trivial to join the two tables.
You must specify either House or Senate data, since there is no "default" option.
(Optional) A file path for reading from a local file.
If no local_path
is specified, will read data from the Harvard Dataverse website.
The replication data is available at the Harvard Dataverse.
The House and Senate data come from the files
HarbridgeYong_Volden_Wiseman_House_Replication.tab
and
HarbridgeYong_Volden_Wiseman_Senate_Replication.tab
, respectively.
The data spans the 93rd through 114th Congresses (1973-2016).
These datasets have been dedicated to the public domain under CC0 1.0.
get_hvw_data("senate")
if (FALSE) { # interactive()
get_hvw_data("house")
}
Run the code above in your browser using DataLab