scrapeBill
Object.collectCommittee.Rd
Collect information regarding committees considering the bill.
collectCommittee(x, single = TRUE, progress = FALSE)
x | A (or A list of) |
---|---|
single | Whether to export single row results (see following description).
The default is |
progress | If |
If single==TRUE
, returns data.frame
object with
following information (single row):
Committee_N
: Number of Committees the Bill Referred to
Committee_Names
: Name(s) of Referred Committees (If multiple committees, divided by ;
)
If single==FALSE
, A data.frame
object containing following variables
(rows represent date of activity):
Date
: Date of Committee Activity
Main
: Name of Committee
Sub
: Name of Subcommittee, if any
Activity
: Content of Activity
Reports
: Name of Reports, if any
tgturl <- "https://www.congress.gov/bill/116th-congress/senate-bill/252" bill252 <- scrapeBill(tgturl) collectCommittee(bill252)#> Committee_N Committee_Names #> 1 2 Senate Armed Services; House Armed Services