civicfeed-legislators: Legislators

Description Usage Arguments Functions Examples

Description

Returns data on legislators.

Usage

1
2
3
get_legislators(state = NULL, chamber = NULL, district = NULL)

get_legislator(legislator_id)

Arguments

state

Returns bills matching the given state abbreviation.

chamber

Returns bills matching the given state abbreviation, valid values are upper, or lower.

district

Returns legislators from the given district.

legislator_id

A legislator id, as returned by get_legislators.

Functions

Examples

1
2
3
4
5
## Not run: 
(legislators <- get_legislators())
get_legislator(legislators$legislator_id[1])  

## End(Not run)

abresler/govtrackR documentation built on July 11, 2020, 12:30 a.m.