Returns data on legislators.
get_legislators(state = NULL, chamber = NULL, district = NULL)
get_legislator(legislator_id)
Returns bills matching the given state abbreviation.
Returns bills matching the given state abbreviation, valid values are
upper
, or lower
.
Returns legislators from the given district.
A legislator id, as returned by get_legislators
.
get_legislators
This function returns a list of legislators.
get_legislator
This function returns details for a legislator, including all roles.
if (FALSE) {
(legislators <- get_legislators())
get_legislator(legislators$legislator_id[1])
}