Description Usage Arguments Value Examples
statements methods
1 2 3 4 5 6 7 8 9 10 11 | cg_statements_search(query, key = NULL, as = "table", ...)
cg_statements_recent(key = NULL, as = "table", ...)
cg_statements_subjects(key = NULL, as = "table", ...)
cg_statements_date(date, key = NULL, as = "table", ...)
cg_statements_subject(subject, key = NULL, as = "table", ...)
cg_statements_member(member_id, congress, key = NULL, as = "table", ...)
|
query |
(character) a search term |
key |
your ProPublica API key; pass in or loads from environment variable
stored as |
as |
(character) IGNORED FOR NOW |
... |
optional curl options passed on to crul::HttpClient.
See |
date |
(character) a date, of the form YYYY-MM-DD |
subject |
(character) slug version of subject |
member_id |
(character) The ID of the member to retrieve; it is
assigned by the Biographical Directory of the United States Congress
(http://bioguide.congress.gov/biosearch/biosearch.asp) or can be retrieved
from a |
congress |
(character) The number of the Congress this update took place during. |
various things for now, since return objects vary quite a bit among the different votes routes
1 2 3 4 5 6 7 8 9 | ## Not run:
cg_statements_recent()
cg_statements_subjects()
cg_statements_search("AHCA")
cg_statements_date("2017-01-03")
cg_statements_subject('immigration')
cg_statements_member('C001084', 115)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.