Description Usage Arguments References Examples
Use this request to search the title and full text of legislation by keyword to get the 20 most recent bills. Searches cover House and Senate bills from the 113th Congress through the current Congress (116th). If multiple words are given (e.g. query=health care) the search is treated as multiple keywords using the OR operator. Quoting the words (e.g. query="health care") makes it a phrase search. Search results can be sorted by date (the default) or by relevance, and in ascending or descending order.
1 2 |
query |
search text |
sort |
sort by lastest major action date or relevance score |
dir |
sort in descending or ascending order |
page |
page of results |
https://projects.propublica.org/api-docs/congress-api/bills/#search-bills
1 2 3 4 | ## Not run:
bills_search("health care")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.