Description Usage Arguments Value Examples
View source: R/os_legislatorgeo.R
Lookup Legislators geospatially
1 | os_legislatorgeo(lat, long, as = "table", key = NULL, ...)
|
lat |
a latitude value (numeric,integer) |
long |
a longitude value (numeric,integer) |
as |
(character) One of table (default), list, or response |
key |
your SunlightLabs API key; loads from .Rprofile |
... |
Curl options passed on to crul::HttpClient |
various, depending on as
parameter
1 2 3 4 | ## Not run:
os_legislatorgeo(lat = 35.79, long = -78.78)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.