View source: R/list_members_chamber_congress.R
list_members_chamber_congress | R Documentation |
The results include all members who have served in that congress and chamber, including members who are no longer in office. HTTP Request: GET https://api.propublica.org/congress/v1/congress/chamber/members.json
list_members_chamber_congress(congress, chamber, page = 1, myAPI_Key)
congress |
102-118 for House, 80-118 for Senate |
chamber |
house or senate |
page |
Results come in batches of 20. The page parameter specifies which one to retrieve. |
myAPI_Key |
API key from Propublica To use the congress API, you must sign up for an API key. |
list of members of a particular chamber in a particular Congress
## Not run:
list_members_chamber_congress(115, 'senate')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.