-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seems to be missing some data #230
Comments
Hi, did you get any updates on this ? Thanks! |
It appears the latest commit to this repo was a year ago. Not sure if there is more accurate and up to date data somewhere else? |
Can you be more specific about the problem you're having? The vote-fetching code in this repo is working fine for me. |
Thanks for your answers, When I run the script for scaping the votes, say congress=114 and session=2015, I collect ~400 files from the senate (with chamber=senate in the votes params) However, in the bills data, I can see that there are 3000+ bills that have been passed this year. Maybe I am missing something but it looks like there are some bill data that don't have vote data, right? Thanks for your help! :) |
In cases like this it's helpful to take a particular example. Can you pick a bill?
…On September 23, 2019 7:22:10 PM EDT, Simon Sebbagh ***@***.***> wrote:
Thanks for your answers,
When I run the script for scaping the votes, say congress=114 and
session=2015, I collect ~400 files from the senate (with chamber=senate
in the votes params)
However, in the bills data, I can see that there are 3000+ bills that
have been passed this year.
Maybe I am missing something but it looks like there are some bill data
that don't have vote data, right?
Thanks for your help! :)
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#230 (comment)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
Sure, For instance in the 114th congress, '''python ./run votes --congress=114 --chamber=senate''' for both sessions of this congress However, the text data scraped with It seems that there are some bills that don't have votes recorded, right? In this case it would concern 3275 - 502 = 2773 bills |
@simon555 Most bills never get a single vote, fwiw, so this isn't a case of missing data. |
@simon555 Derek is of course right, but I just want to add, my suggestion is to pick a particular bill to look at, if you want to understand better what's going on. It'll become clearer if you look at any of the actual bill data files. Or any bill on Congress.gov. |
Sorry for the confusion, here is what I want to do : Given the vote data on a particular bill, I want to retrieve the text data of that bill. I can download the vote data with the previously cited command, but it seems that I am not looking for the text data in the right place... Please, taking congress 114 as example as above, how can I retrieve the text data of the 502 bills that have been voted on ? Thank you! |
Did you try following the steps on the Bill Text page in the wiki? |
I did, but I end up with more bill text than bill votes. |
Unless your hard drive is really small and this is causing you to run out of disk space, I'm not understanding the problem. Since you have downloaded the vote data and the bill text data, you should have everything you need. Where are you getting stuck? |
Sorry I was not clear : I cannot link vote data and text data : I can't find a common key in the vote data that allows me to collect the text data associated to a certain vote |
The vote data (edit: the vote data JSON files) includes information about what the vote was about. The very end of the Votes wiki page documents the fields that indicate the bill that the vote is related to (if any, and note that most votes that are related to a bill are not votes to pass the bill). |
In each vote data file there is a
The bill is hr3762. |
Hi, Thanks for all these clarifications. I had a question regarding the amendment of a bill. Given a vote that amends a bill, I will have access to the bill information, as well as the amendment info. I have the possibility to retrieve the text version of the bill through the BILL TEXT section of this repo. However, I can't see where I can download an AMENDMENT TEXT. The AMENDMENT section of the bill contains general info about it but does not provide the updated version of the bill text if the amendment has passed. Do you know how I can collect the updated version of the bill text through the several amendments? |
Hey, I used a bash file to try to get them all initially- but calling specific house session votes (i.e. |
I ran that command and it started pulling data and creating files e.g. |
Some of the congressional votes seem to be missing. I just ran ./run votes and I can't find the latest ones that McHenry voted in for example:
https://mchenry.house.gov/voterecord/
Maybe I made a dumb data mistake in processing, I found only three nonneuteral votes in h(number)/data.json in my downloaded dataset.
The text was updated successfully, but these errors were encountered: