Description Usage Arguments Value See Also Examples
View source: R/collectBillData.R
Collect information regarding committees considering the bill.
1 | 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
1 2 3 | tgturl <- "https://www.congress.gov/bill/116th-congress/senate-bill/252"
bill252 <- scrapeBill(tgturl)
collectCommittee(bill252)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.