Learn R Programming

rsunlight (version 0.7.0)

os_legislatorgeo: Lookup Legislators geospatially

Description

Lookup Legislators geospatially

Usage

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

Run this code
# NOT RUN {
os_legislatorgeo(lat = 35.79, long = -78.78)
# }

Run the code above in your browser using DataLab