complete_download: Complete rollcall download if it was interrupted

Description Usage Arguments Value See Also Examples

View source: R/download.R

Description

Complete rollcall download if it was interrupted

Usage

1

Arguments

rc

A rollcall object downloaded from VoteView that has unretrieved ids.

Value

A modified pscl rollcall object including the original rollcalls and any ones that succeeded the second time.

See Also

'rollcall','complete_download','voteview_search'.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Search for example roll calls
res <- voteview_search("Rhodesia")

## Download some ids and an invalid id
rc <- voteview_download(c(res$id[1:10], "fakeid", res$id[11:15]))
summary(rc)

rc$unretrievedids

## Complete download. Wont work because 'fakeid' will always be invalid,
## however this is just to show usage
## Not run: 
complete_rc <- complete_download(rc)

## End(Not run)

voteview/Rvoteview documentation built on May 1, 2018, 12:24 a.m.