collectCommittee: Collecting Committee Information from a 'scrapeBill' Object.

Description Usage Arguments Value See Also Examples

View source: R/collectBillData.R

Description

Collect information regarding committees considering the bill.

Usage

1
collectCommittee(x, single = TRUE, progress = FALSE)

Arguments

x

A (or A list of) scrapeBill object created by scrapeBill function.

single

Whether to export single row results (see following description). The default is TRUE.

progress

If TRUE, show progress bar for the processing of multiple bills.

Value

If single==TRUE, returns data.frame object with following information (single row):

If single==FALSE, A data.frame object containing following variables (rows represent date of activity):

See Also

scrapeBill and getscrapeBill

Examples

1
2
3
tgturl <- "https://www.congress.gov/bill/116th-congress/senate-bill/252"
bill252 <- scrapeBill(tgturl)
collectCommittee(bill252)

gentok/congressbills documentation built on Jan. 21, 2020, 5:37 a.m.