merge_rollcalls: Merge rollcall objects

View source: R/dwnominate.R

merge_rollcallsR Documentation

Merge rollcall objects

Description

Merge a list of rollcall objects.

Usage

merge_rollcalls(rollcalls, by = NULL)

Arguments

rollcalls

A list of rollcall objects.

by

The column in legis.data to use as an ID for matching legislators. If not provided legislators are matched based on name.

Examples

data(nhsenate)
combined_rcs <- merge_rollcalls(nhsenate, by='name')
print(combined_rcs)

wmay/dwnominate documentation built on Feb. 19, 2024, 7:38 p.m.