legis-graph
legis-graph copied to clipboard
Senate votes are indexed by lisID
I have a use case where I am looking for votes on a Senate bill in the 112th Congress and didn't have any data showing up. It turns out that the source data consistently indexes Legislator votes by bioguideID
for the House, but by lisID
for the Senate for the 112th-114th Congresses.
parse_votes.py
is expecting this to always be bioguideID
, so we're not registering any Senate votes in the database:

This source data sure is unnecessarily obfuscated! I'm going to work on a fix.