Description Usage Arguments Functions Examples
Returns information and details on bills.
1 2 3 4 5 6 7 8 9 10 11 12 |
state |
Returns bills matching the given state abbreviation. |
chamber |
Returns bills matching the given state abbreviation, valid values are
|
bill_id |
Returns bills with the given |
q |
Return bills match the full text query. |
search_window |
Time window to be searched through, valid values are
|
updated_since |
Returns bills updated since this date. |
sort |
Sort order of results, |
session |
Return bills matching session. |
get_bills
This function allows you to search bills by (almost) any of their attributes, or full text.
get_bill_details
This function returns the full detail for bill, including any actions, votes, etc.
1 2 3 4 5 | ## Not run:
bills <- get_bills(state = "dc")
details <- get_bill_details(bills$state[1], bills$session[1], bills$bill_id[1])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.