get_hvw_data: Get replication data from Harbridge-Yong, Volden, and Wiseman...

View source: R/get_hvw_data.R

get_hvw_dataR 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. \Sexpr[results=rd]{tools:::Rd_expr_doi("doi:10.1086/723805")}

Usage

get_hvw_data(chamber, local_path = NULL)

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_path

(Optional) A file path for reading from a local file. If no local_path is specified, will read data from the Harvard Dataverse website.

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")


filibustr documentation built on April 4, 2025, 3:43 a.m.