Collect information regarding summary of the bill.

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

Examples

tgturl <- "https://www.congress.gov/bill/109th-congress/house-bill/247" bill247 <- scrapeBill(tgturl) collectSummary(bill247)
#> [1] "Increase in Numerical Limitation for Asylees Adjustment Act of 2005 - Amends the Immigration and Nationality Act to increase the annual limitation on the number of asylees who may adjust to permanent legal resident status."