get_hvw_data {filibustr} | R Documentation |
Get replication data from Harbridge-Yong, Volden, and Wiseman (2023)
Description
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.
doi:10.1086/723805
Usage
get_hvw_data(chamber, local = TRUE, local_dir = ".")
Arguments
chamber |
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.
|
local |
Whether to read the data from a local file, as opposed to the Harvard Dataverse website. Default is TRUE . If the local file does not exist, will fall back to reading from online.
|
local_dir |
The directory containing
the local file. Defaults to the working directory.
|
Details
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.
Value
A tibble()
.
Examples
get_hvw_data("senate")
get_hvw_data("house")
[Package
filibustr version 0.2.1
Index]