Description Usage Arguments Value See Also Examples
Searching Bill Information in US Congress Website.
1 2 3 4 5 |
key |
A |
congress |
A |
chamber |
A |
billtype |
A |
billstatus |
A |
subject |
A |
house_committee |
A |
senate_committee |
A |
party |
A |
pageSort |
The way the bills in search are sorted. Choose one of
|
pageSort_direction |
Direction of |
maxN |
The max number of bills to import. The default is |
urlonly |
if |
searchURLprint |
If |
If urlonly==FALSE
and searchURLprint==FALSE
,
A data.frame
that contains following variables.
ID
: Bill ID (See BillIDfromURL
)
URL
: Bill summary page URLs
Title
: Bill title
Sp_Chamber
: Chamber (i.e., House or Senate) of sponsor
Sp_Name
: Sponsor full name
Sp_LastName
: Sponsor last name
Sp_Party
: Party of sponsor
Sp_State
: State of sponsor
Sp_District
: District of sponsor
Cosp_N
: Number of cosponsors
IntroducedDate
: Date of introduction
ActLatestDate
: Date of the latest action
ActLatestText
: Content of the latest action
Committees
: Name of committees
getBill
, read_scrapeBill
, and write_scrapeBill
1 2 3 4 | # Search all bills (importing only newest 10)
billdt <- searchBill(maxN=10)
# Seach bills with keyword "air" (importing newest 100)
billdt <- searchBill(key="air", maxN=100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.