Description Usage Arguments Examples
View source: R/cg_bill_subjects.R
Get Library of Congress-assigned subjects about a particular bill
1 | cg_bill_subjects(congress, id, key = NULL, as = "table", ...)
|
congress |
congress id (numeric,integer) |
id |
the bill id (character) |
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 |
1 2 3 4 5 | ## Not run:
cg_bill_subjects(115, 'hr1628')
cg_bill_subjects(115, 'hr2810')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.