Description Usage Arguments Value Examples
View source: R/cg_bills_recent_member.R
Get recent bills by member id
1  | cg_bills_recent_member(id, type, key = NULL, as = "table", ...)
 | 
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   | 
type | 
 Type of bill. introduced or updated  | 
key | 
 your SunlightLabs API key; loads from environment variable from .Renviron or from an option from .Rprofile  | 
as | 
 (character) One of table (default), list, or response (httr response object). When table is requested, the default, a table is not always returned, but is returned almost always. You can then make a table yourself if you like.  | 
... | 
 Optional additional curl options (debugging tools mostly)
passed on to   | 
some nasty parsing, so just list of lists for now
1 2 3 4  | ## Not run: 
cg_bills_recent_member("L000287", "introduced")
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.