Learn R Programming

rsunlight (version 0.7.0)

os_legislator: Lookup a Legislator by ID

Description

Lookup a Legislator by ID

Usage

os_legislator(id, as = "table", key = NULL, ...)

Arguments

id

legislator id (character)

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

List of output fields.

Examples

Run this code
# NOT RUN {
os_legislator(id = 'DCL000012')
# }

Run the code above in your browser using DataLab