congressbills
PackageDeveloped by Gento Kato (Last Updated: 12/06/2019)
Extract and manipulate bill information from US Congress website. The package website is published HERE.
devtools::install_github("gentok/congressbills")
searchBill
Search bills by keywords and other conditions.getBill
Get bill summary page URL (or scrapeBill
object) from bill and congress number.scrapeBill
Scrape bill information from Congress website using bill summary page URL.collectBillData
Collect information of Congress bill from scrapeBill
object.read_scrapeBill
Import a (or a list of) scrapeBill
object saved as .rds
file.write_scrapeBill
Write a (or a list of) scrapeBill
object into .rds
file.BillIDfromURL
Collect Bill ID from bill summary page URL(s).collectBillID
Collect information that identifies bill from scrapeBill
object.collectTitle
Collect information regarding title(s) of the bill from scrapeBill
object.collectSummary
Collect information regarding summary of the bill from scrapeBill
object.collectSponsorship
Collect information regarding sponsorship of the bill from scrapeBill
object.collectAction
Collect information regarding actions of the bill from scrapeBill
object.collectCommittee
Collect information regarding committees considering the bill from scrapeBill
object.collectSubject
Collect information regarding subject field of the bill from scrapeBill
object.collectText
Collect information regarding the latest full text of the bill from scrapeBill
object.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.