collectSummary: Collecting Summary Information from a 'scrapeBill' Object.

Description Usage Arguments Value See Also Examples

View source: R/collectBillData.R

Description

Collect information regarding summary of the bill.

Usage

1
collectSummary(x, latestonly = TRUE, progress = FALSE)

Arguments

x

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

latestonly

If TRUE (default), the function returns only the text of the latest summary. If FALSE, the function returns the data.frame object of all published summaries and their published dates and timings.

progress

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

Value

A character or data.frame object with summary texts.

See Also

scrapeBill and getscrapeBill

Examples

1
2
3
tgturl <- "https://www.congress.gov/bill/109th-congress/house-bill/247"
bill247 <- scrapeBill(tgturl)
collectSummary(bill247)

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