os_legislatorgeo: Lookup Legislators geospatially

Description Usage Arguments Value Examples

View source: R/os_legislatorgeo.R

Description

Lookup Legislators geospatially

Usage

1
os_legislatorgeo(lat, long, as = "table", key = NULL, ...)

Arguments

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

Value

various, depending on as parameter

Examples

1
2
3
4
## Not run: 
os_legislatorgeo(lat = 35.79, long = -78.78)

## End(Not run)

rsunlight documentation built on May 1, 2019, 10:18 p.m.