Description Usage Arguments Value Examples
Get OpenStates districts boundary by boundary id
1 | os_district(id, as = "table", key = NULL, ...)
|
id |
a boundary id used in District Boundary Lookup (character) |
as |
(character) One of table (default), list, or response (crul response object) |
key |
your SunlightLabs API key; loads from .Rprofile |
... |
Curl options passed on to crul::HttpClient |
a data.frame of bills.
1 2 3 4 | ## Not run:
os_district(id = 'ocd-division/country:us/state:tx/sldl:100')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.