Learn R Programming

rtimes (version 0.3.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
your New York Times API key; pass in, or loads from .Rprofile as nytimes_cg_key, or from .Renviron as NYTIMES_CG_KEY
...
Curl options (debugging tools mostly) passed to GET

Value

List of new members of he current Congress.

Examples

Run this code
## Not run: 
# cg_membersleaving(112, 'house')
# ## End(Not run)

Run the code above in your browser using DataLab