-
Notifications
You must be signed in to change notification settings - Fork 506
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
CSV for all served terms (i.e. one row per (legislator, term served)) #662
Comments
I think we'd love to add such a file. It may be difficult to assign congress numbers accurately to the whole dataset however: see #185. That might be better to address as a nice-to-have later. We should also attempt to include every term field in the output and use the same field names as much as possible. So with those caveats I'm 👍 . |
ah yes, I figured there was a reason that congress numbers hadn't been added before! Thanks for that context. Makes sense on including every term field - just to clarify though, you mean including all subfields under a
Only downside I can see for that is that each |
I don't think anyone yet has stepped up to create the file, no. |
First of all, thanks so much for making and maintaining this data!
I was wondering if you all would be open to adding another
csv
that would be generated based on the existinglegislators-current.yaml
andlegislators-historical.yaml
files. Right now, those files contain more detailed term information than the CSV versions do - which makes sense since the number of terms served by any given legislator can vary, making it hard to put that data into the existing one-row-per-legislator CSV.I'm wondering if you'd be open to creating a new
csv
that includes term start/end information for every term served by every legislator? It would look something like this:so the same legislator can appear multiple times (one time per term served). This would allow people to more easily do analyses on all of the members for a given Congress number (i.e. grab all the
bioguide_id
s for a given Congress number, then join those IDs to thelegislators-historical.csv
file.I created a quick prototype (not ready for review, wanted to see if you all were open to the idea first) to give an idea of what I mean: nrjones8@0e83389
Thanks in advance!
The text was updated successfully, but these errors were encountered: