grapes-plus-grapes: Full outer join of two rollcall objects

Description Usage Arguments Value Examples

Description

This function takes two rollcall objects as its parameters and performs a full outer join on them, returning a new rollcall object that is the union of the two.

Usage

1
rc1 %+% rc2

Arguments

rc1

The first rollcall object.

rc2

The second rollcall object.

Value

The union of the two rollcall objects.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Search for rollcalls about Rhodesia in the 96th Congress
res <- voteview_search("Rhodesia", congress = c(96))

rc1 <- voteview_download(res$id)
summary(rc1)

## Search for rollcalls about Rhodesia in the 90th Congress
res <- voteview_search("Rhodesia", congress = c(90))

rc2 <- voteview_download(res$id)
summary(rc2)

## Union of the two results
rc <- rc1 %+% rc2

JeffreyBLewis/Rvoteview documentation built on Oct. 15, 2019, 10:18 p.m.