Get information about a particular member's appearances on the House or Senate floor.
cg_memberappear(memberid = NULL, key = NULL, ...)
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.
(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
Get information about a particular member's appearances on the House or Senate floor.
Congress API docs https://projects.propublica.org/api-docs/congress-api/
Other congress: cg_billscosponsor
,
cg_memberbioroles
,
cg_memberbystatedistrict
,
cg_membersleaving
,
cg_memberslist
,
cg_membersponsorcompare
,
cg_membervotecompare
,
cg_membervotepositions
,
cg_newmembers
,
cg_rollcallvote
# NOT RUN {
cg_memberappear(memberid='S001181')
# }
Run the code above in your browser using DataLab