scrapeBill: Downloading Bill HTML files from Congress Website

Description Usage Arguments Value See Also Examples

View source: R/scrapeBill.R

Description

Downloading Bill Information from US Congress Website.

Usage

1
scrapeBill(url, progress = TRUE)

Arguments

url

A character object of Bill Summary Page URL (e.g., https://www.congress.gov/bill/109th-congress/house-bill/247)

progress

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

Value

A (or a list of) scrapeBill object(s) that contains two xml_document objects.

See Also

getBill, read_scrapeBill, and write_scrapeBill

Examples

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

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