Description Usage Arguments Value References See Also Examples
Get a list of the most recent new members of the current Congress.
1 2 |
chamber |
One of 'house' or 'senate'. |
state |
Limits the list of members by state; two-letter state code (e.g., CA). |
district |
Limits the list of members by district (House only). If you specify a district, you must also specify a state. If the district number you specify is higher than the total number of districts for that state, a 404 response will be returned. |
key |
(character) your Propublica API key; pass in, or loads from
.Renviron as |
... |
Curl options (debugging tools mostly) passed to
|
List of new members of he current Congress.
Congress API docs https://projects.propublica.org/api-docs/congress-api/
Other congress: cg_billscosponsor
,
cg_memberappear
,
cg_memberbioroles
,
cg_membersleaving
,
cg_memberslist
,
cg_membersponsorcompare
,
cg_membervotecompare
,
cg_membervotepositions
,
cg_newmembers
,
cg_rollcallvote
1 2 3 4 5 6 7 | ## Not run:
cg_memberbystatedistrict(chamber='senate', state='NH')
cg_memberbystatedistrict(chamber='senate', state='CA')
cg_memberbystatedistrict(chamber='senate', state='OR')
cg_memberbystatedistrict(chamber='house', state='OR', district=1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.