os_legislator: Lookup a Legislator by ID

Description Usage Arguments Value Examples

View source: R/os_legislator.R

Description

Lookup a Legislator by ID

Usage

1
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

1
2
3
4
## Not run: 
os_legislator(id = 'DCL000012')

## End(Not run)

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