VotePosition
The individual yea/nay/abstain position of each legislator on each roll call vote. Highest-volume table.
GraphQL type: VotePosition · Connection: VotePositionsConnection
Queries
| Query | Returns | Description |
|---|---|---|
allVotePositions(filter, orderBy, first, last, before, after) | VotePositionsConnection | Paginated list with filtering and ordering |
votePositionById(id: BigInt!) | VotePosition | Look up by primary key |
Fields
| Field | GraphQL Type | Notes |
|---|---|---|
id | BigInt | PK |
voteId | String | required FK |
bioguideId | String | required FK |
position | String | The recorded vote position. Values: Yea, Nay, Not Voting, Present, VP (vice presidential tie-breaker). required |
party | String | Party at time of vote (snapshotted from upstream data to avoid joins for common analytics). Usually single-char (D, R, I) but can be multi-char (e.g. ID = Independent Democrat). |
state | String |
Relationships
Belongs to
| Field | Returns | Via |
|---|---|---|
voteByVoteId | Vote | voteId |
legislatorByBioguideId | Legislator | bioguideId |
Example
{
allVotePositions(
filter: {
voteId: { equalTo: "s83-119.2025" }
}
) {
nodes {
position
party
state
legislatorByBioguideId {
officialFull
}
}
}
}