getBill.Rd
Get Bill Suummary Page URL or scrapeBill
object by Bill Number and Congress Number.
getBill(number, congress, chamber = "House", type = "Bill", out = "URL") getscrapeBill(number, congress, chamber = "House", type = "Bill") getBillDF(infoDF, out = "URL", progress = FALSE) getscrapeBillDF(infoDF, progress = TRUE)
number |
|
---|---|
congress |
|
chamber | Choose from |
type | Choose from |
out | The output type. |
infoDF | (Only used in |
progress | (Only used in |
character
scalar of URL or "scrapeBill"
object.
#> ID Congress Chamber Type Number Name #> 1 H10300001 103 House Bill 1 Family and Medical Leave Act of 1993#> ID Congress Chamber Type Number #> 1 SJR10300001 103 Senate Joint Resolution 1 #> Name #> 1 A joint resolution to ensure that the compensation and other emoluments attached to the office of Secretary of the Treasury are those which were in effect on January 1, 1989.#> ID Congress Chamber Type Number #> 1 H10100001 101 House Bill 1 #> Name #> 1 Department of Housing and Urban Development Reform Act of 1989a <- data.frame(number = c(1,2,3,4), congress = c(103,104,108,109), chamber = "House", type = "Bill") b <- getBillDF(a, out="scrapeBill") collectBillID(b)#> ID Congress Chamber Type Number Name #> 1 H10300001 103 House Bill 1 Family and Medical Leave Act of 1993 #> 2 H10400002 104 House Bill 2 Line Item Veto Act #> 3 H10800003 108 House Bill 3 Reserved. #> 4 H10900004 109 House Bill 4 Pension Protection Act of 2006