cg_billscosponsor: Get bill cosponsorship data for a particular member.

Description Usage Arguments Value References See Also Examples

Description

Get bill cosponsorship data for a particular member.

Usage

1
cg_billscosponsor(memberid = NULL, type = NULL, key = NULL, ...)

Arguments

memberid

The member's unique ID number (alphanumeric). To find a member's ID number, get the list of members for the appropriate House or Senate. You can also use the Biographical Directory of the United States Congress to get a member's ID. In search results, each member's name is linked to a record by index ID (e.g., http://bioguide.congress.gov/scripts/biodisplay.pl?index=C001041). Use the index ID as member-id in your request.

type

One of 'cosponsored' (the 20 bills most recently cosponsored by member-id) or 'withdrawn' (the 20 most recently withdrawn cosponsorships for member-id).

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_memberappear, cg_memberbioroles, cg_memberbystatedistrict, cg_membersleaving, cg_memberslist, cg_membersponsorcompare, cg_membervotecompare, cg_membervotepositions, cg_newmembers, cg_rollcallvote

Examples

1
2
3
4
## Not run: 
cg_billscosponsor(memberid='B001260', type='cosponsored')

## End(Not run)

rtimes documentation built on May 2, 2019, 2:06 p.m.