Collect information regarding title(s) of the bill.

collectTitle(x, officialonly = TRUE, progress = FALSE)

Arguments

x

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

officialonly

If TRUE (default), the function returns the the text of the official title as introduced. If FALSE, the function returns the data.frame object of all published official and short titles and their published timings.

progress

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

Value

A character vector or data.frame list with bill title information.

See also

Examples

tgturl <- "https://www.congress.gov/bill/109th-congress/house-bill/247" bill247 <- scrapeBill(tgturl) collectTitle(bill247)
#> [1] "To increase the numerical limitation on the number of asylees whose status may be adjusted to that of an alien lawfully admitted for permanent residence."