Collect information regarding committees considering the bill.

collectCommittee(x, single = TRUE, progress = FALSE)

Arguments

x

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

single

Whether to export single row results (see following description). The default is TRUE.

progress

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

Value

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

See also

Examples

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