Learn R Programming

rtimes (version 0.5.0)

cg_membersleaving: Get a list of members who have left the Senate or House or have announced plans to do so.

Description

Get a list of members who have left the Senate or House or have announced plans to do so.

Usage

cg_membersleaving(congress_no = NULL, chamber = NULL, key = NULL, ...)

Arguments

congress_no

The number of the Congress during which the members served.

chamber

One of 'house' or 'senate.

key

(character) your Propublica API key; pass in, or loads from .Renviron as PROPUBLICA_API_KEY. See rtimes-package for info on rate limits.

...

Curl options (debugging tools mostly) passed to HttpClient

Value

List of new members of he current Congress.

References

Congress API docs https://projects.propublica.org/api-docs/congress-api/

See Also

Other congress: cg_billscosponsor, cg_memberappear, cg_memberbioroles, cg_memberbystatedistrict, cg_memberslist, cg_membersponsorcompare, cg_membervotecompare, cg_membervotepositions, cg_newmembers, cg_rollcallvote

Examples

Run this code
# NOT RUN {
cg_membersleaving(congress_no = 112, chamber = 'house')
# }

Run the code above in your browser using DataLab