View source: R/get_upcoming_bills.R
get_upcoming_bills | R Documentation |
The responses include a legislative_day attribute which is the earliest the bills could be considered and a range attribute that indicates whether the bill information comes from a weekly schedule or a daily one. Combine the two for the best sense of when a bill might come up for consideration. For Senate bills, the response includes a context attribute reproducing the sentence that includes mention of the bill. These responses omit bills that have not yet been assigned a bill number or introduced, and additional bills may be considered at any time. HTTP Request: GET https://api.propublica.org/congress/v1/bills/upcoming/chamber.json
get_upcoming_bills(chamber, page = 1, myAPI_Key)
chamber |
house or senate. |
page |
Results come in batches of 20. The page parameter specifies which one to retrieve. |
myAPI_Key |
API key from Propublica To use the congress API, you must sign up for an API key. |
List of returned JSON from endpoint that retrieves details on bills that may be considered by the House or Senate in the near future, based on scheduled published or announced by congressional leadership.
## Not run:
get_upcoming_bills('senate')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.