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", ...)
Arguments
query
(character) a search term
key
your ProPublica API key; pass in or loads from environment variable
stored as PROPUBLICA_API_KEY in either your .Renviron, or similar file
locatd in your home directory
(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 cg_members() request
congress
(character) The number of the Congress this update
took place during.
Value
various things for now, since return objects vary quite a bit
among the different votes routes