Comments (5)
We scrape several sources in that repository. I don't remember off hand what all of the URLs are. But you can scan through the scripts at https://github.com/unitedstates/congress-legislators/tree/main/scripts to see.
For this issue, we can also go an easier route to solve it and just hard code the right bioguide ID to use for each of these votes.
from congress.
Does that mean a representative going out can vote on the same day one comes in?
Of course. In the general case, a member might resign after a vote on the same day another member elected by special election is sworn in. In the more specific Jan 3 case, there can be a vote in the morning of Jan 3 and a vote in the afternoon of Jan 3 and those would be in different Congresses with a (overlapping but) totally different set of legislators serving.
In this particular case, it's a father-son pair.
To help debugging, the issue you found can be reproduced by running one of:
./run votes --chamber=house --congress=107 --session=2001
./run votes --vote_id=h2-107.200
This was all working at some point because this is how I got the vote data into GovTrack in the first place, but something must have broken.
The way to properly resolve this is for us to compare the congress number of the vote to the congress numbers that the matched terms are for, but the latter needs to be computed (there is a function named get_term_congresses but I can't say if it is correct).
from congress.
Thanks for responding quickly. IIRC, from the congress-legislators repo, there was an XML file that included a tag <congress id="Congress number">
. I just can't recall where I saw this or which link gets all congressmen data. Which link are we getting all the historical Congressmen from?
In that case, we can then update the files with that new data point, congress
from congress.
It reads the YAML files at https://github.com/unitedstates/congress-legislators/. (I don't think the XML file you are describing comes from these repos.)
from congress.
This repo reads the files stored in that repo. But I was wondering which files that repository collects, not this one.
from congress.
Related Issues (20)
- [Bug] Error handling in govinfo.py line 73 HOT 5
- [Bug] Votes scraper not pulling in most recent vote, until I cleared cache HOT 2
- [Bug] Bad zip file HOT 1
- Newbie Q: Pulling bills for only one topic HOT 2
- Is there any interest in using govinfo's bulkdata zip files HOT 1
- Error: ImportError: No module named html.entities after the Feb 28th update HOT 4
- Unable to scrape Committee meetings HOT 1
- Error in parsing sponsor & byRequest HOT 4
- Discrepancies on amendment roll call votes
- Update PyPI Package HOT 8
- (votes, committee_meetings): senate.gov and clerk.house.gov not redirecting to https
- Correct Virtual Env Suggestion
- Request - Include Mastodon ID for members of congress HOT 2
- Error from lxml when parsing amendments "purpose" field HOT 1
- Bills & data.json HOT 1
- Errors when parsing amendments for 118th Congress
- Diff: draft-ietf-httpbis-unprompted-auth-06.txt - draft-ietf-httpbis-unprompted-auth-07.txt
- Bulkdata download from sunlight foundation error HOT 3
- googletagmanager.com/gtag/js?id="+oCONFIG.GWT_GA4ID%5B0%5D);head.appendChild(GA4Object);window.dataLayer=window.dataLayer%7C%7C%5B%5D
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from congress.