This Choreo returns information on how people voted on roll call votes in the U.S. Congress since 1789. Detailed information about the GovTrack Vote_Voter API is available here.
The Choreo has optional parameters which can be used to filter the result. Here's an example of a set of optional inputs that limit the number of results:
Person: 400222
Limit: 1000
Order: created
Operators can be used with filter parameters as well. This is indicated in the input descriptions. The syntax for filter operators is: {Operator}: {ParameterValue}. Valid operators are: contains, exact, gt, gte, lt, lte, in, startswith, and range. Here's an example of an input that uses a filter operator:
Person: gt: 400221
The above example requests voter details where the id field of the people object is greater than 400221.
The following is a sample of the JSON information returned by this Choreo:
The following is a partial example of the information returned by this Choreo:
{
"meta": {
"limit": 1000,
"next": "/api/v1/vote_voter/?person=400222&offset=1000&limit=1000&order_by=created",
"offset": 0,
"previous": null,
"total_count": 7350
},
"objects": [
{
"created": "2001-01-03T12:36:00",
"id": "12664138",
"link": "http://www.govtrack.us/congress/votes/107-2001/h1",
"option": "P",
"person": "/api/v1/person/400222/",
"person_name": "Sen. Mark Kirk [R-IL]",
"resource_uri": "/api/v1/vote_voter/12664138/",
"vote": "/api/v1/vote/50299/",
"vote_description": "House Vote #1",
"voter_type": "member",
"voter_type_label": "Member of Congress"
},
{
"created": "2001-01-03T15:55:00",
"id": "12847488",
"link": "http://www.govtrack.us/congress/votes/107-2001/h3",
"option": "0",
"person": "/api/v1/person/400222/",
"person_name": "Sen. Mark Kirk [R-IL]",
"resource_uri": "/api/v1/vote_voter/12847488/",
"vote": "/api/v1/vote/50902/",
"vote_description": "House Vote #3",
"voter_type": "member",
"voter_type_label": "Member of Congress"
},
{
"created": "2001-01-03T15:55:00",
"id": "12898476",
"link": "http://www.govtrack.us/congress/votes/107-2001/h2",
"option": "Hastert",
"person": "/api/v1/person/400222/",
"person_name": "Sen. Mark Kirk [R-IL]",
"resource_uri": "/api/v1/vote_voter/12898476/",
"vote": "/api/v1/vote/51070/",
"vote_description": "House Vote #2",
"voter_type": "member",
"voter_type_label": "Member of Congress"
},
{
"created": "2001-01-03T16:15:00",
"id": "12975890",
"link": "http://www.govtrack.us/congress/votes/107-2001/h4",
"option": "+",
"person": "/api/v1/person/400222/",
"person_name": "Sen. Mark Kirk [R-IL]",
"resource_uri": "/api/v1/vote_voter/12975890/",
"vote": "/api/v1/vote/51317/",
"vote_description": "House Vote #4",
"voter_type": "member",
"voter_type_label": "Member of Congress"
},
{
"created": "2001-01-30T18:41:00",
"id": "12859046",
"link": "http://www.govtrack.us/congress/votes/107-2001/h5",
"option": "+",
"person": "/api/v1/person/400222/",
"person_name": "Sen. Mark Kirk [R-IL]",
"resource_uri": "/api/v1/vote_voter/12859046/",
"vote": "/api/v1/vote/50940/",
"vote_description": "House Vote #5",
"voter_type": "member",
"voter_type_label": "Member of Congress"
},
{
"created": "2001-01-31T11:55:00",
"id": "12747963",
"link": "http://www.govtrack.us/congress/votes/107-2001/h6",
"option": "+",
"person": "/api/v1/person/400222/",
"person_name": "Sen. Mark Kirk [R-IL]",
"resource_uri": "/api/v1/vote_voter/12747963/",
"vote": "/api/v1/vote/50568/",
"vote_description": "House Vote #6",
"voter_type": "member",
"voter_type_label": "Member of Congress"
},
{
"created": "2001-01-31T12:05:00",
"id": "12619563",
"link": "http://www.govtrack.us/congress/votes/107-2001/h7",
"option": "+",
"person": "/api/v1/person/400222/",
"person_name": "Sen. Mark Kirk [R-IL]",
"resource_uri": "/api/v1/vote_voter/12619563/",
"vote": "/api/v1/vote/50146/",
"vote_description": "House Vote #7",
"voter_type": "member",
"voter_type_label": "Member of Congress"
}