cg_bill(congress, id, key = NULL, as = "table", ...)
Arguments
congress
(character) congress number, e.g. 110
id
(character) a bill slug, for example hr4881 - these can be
found in the recent bill response.
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 HttpClient