Comments (11)
Oh and despite my initial reaction I'd love to have it also.
It's stateRank here:
http://www.senate.gov/legislative/LIS_MEMBER/cvc_member_data.xml
In addition, I'd like us to think about a generic way to handle rank. Imagine that we assign numbers consecutively from the 1st Congress to each term (in a smart way), so that at any given point in time you could compute the rank of all Members of Congress by sorting them by this rank value. It would be interesting to then see if it lines up with e.g. http://www.rollcall.com/politics/houseseniority.html
Junior/senior should be computable by comparing the ranks of the two senators. Though I'd be OK with storing that separately in the DB anyway, especially in case our algorithm doesn't match the senate's algorithm.
from congress-legislators.
We should definitely have it for senators, but there's (always) a catch; junior/senior status can and does switch. If Kerry is confirmed as Secy of State, Elizabeth Warren becomes the senior senator from Massachusetts. Brian Schatz was junior senator from HI when he was sworn in after Christmas, but by virtue of that he's now senior senator. If all we care about is the "final" status of senators in a Congress, then it's easier.
In terms of House seniority, it's also easier if we pick an approach that can account for people leaving the House and returning later.
from congress-legislators.
Seniority resets, right? (if people leave and return)
from congress-legislators.
In my experience, seniority is what leadership says it is. Some people, like Lautenberg, demanded that his seniority be restored as a condition of running again. So it should reset, but doesn't always.
from congress-legislators.
According to Wikipedia, seniority is determined by the following factors (in order):
- Length of continuous service
- Former U.S. senator
- Former U.S. representative
- Former president
- Former vice president
- Former Cabinet member
- Former state governor
- Population of state based on the most recent census when the senator took office
- Alphabetical by last name (in case two senators came from the same state on the same day and have identical credentials)
According to that article, Lautenberg has not actually received his previous seniority (because that wouldn't comply with these criteria) and is listed at 35th.
from congress-legislators.
That reference in Wikipedia is to an unlinked Hill article, but it might have been early. This Hill article from 2006 says he got a post he otherwise wouldn't have gotten, as does this one from 2010.
Because of this, if we were to list rankings, I'd much rather list them from an official source if possible. The House provides such a list (PDF), but I think with the Senate it's limited to the "official algorithm" + "undocumented leadership fudging".
Josh, that XML is awesome. Is it from the Capitol Visitors Center?? What page is it linked from?
from congress-legislators.
It's from the Senate: http://www.senate.gov/general/common/generic/XML_Availability.htm. It's one of the recently improved files. (But stateRank might have been there for a while.)
In light of the fudging, nevermind my idea.
from congress-legislators.
Just "assigned" myself to the issues I'm planning on doing. A feature I haven't really used before, but helpful purely for my own reference in which of the growing number of issues I'm on point on. :)
from congress-legislators.
In the middle of tackling this now.
from congress-legislators.
Done - just used the source above to get both state_rank (on individual terms, set to "junior" or "senior"), and their LIS ID (which we were only missing for freshmen senators). Merged cleanly with Josh's manual update.
from congress-legislators.
Oh, and to clarify - this is done in the same senate_contacts.py script, no new script was added.
from congress-legislators.
Related Issues (20)
- Bioguide now has structured data HOT 1
- Why doesn't the `legislators-current.{json|yaml}` have social entries for twitter, fb, etc? HOT 1
- "House Select Subcommittee on the Coronavirus Crisis" is listed as a committee
- Unlabeled Issues
- Errors in C-SPAN IDs
- Missing opensecrets id for several legislators in legislators-current.yaml HOT 1
- Birthdays Missing HOT 5
- Sen. Pete Rickets -- Missing HOT 1
- Update Committes for 118th Congress HOT 5
- The 118th Congress - leadership_roles HOT 3
- Missing Committee Members HOT 5
- Update validation scripts for census 2020 district results HOT 1
- Franklin C. Scott Name Mistake HOT 2
- Update URL for LOC Thomas in Readme HOT 1
- Potential inconsistency with Byron Donalds's fec_ids
- Missing opensecrets id for 81 legislators
- Rep. Brian Higgins Resigned HOT 2
- Possible missing FEC code for Senator Pete Ricketts HOT 2
- GitHub Pages: Page not found (404) HOT 1
- Incorrect information for Govtrack IDs 412464 and 456856 HOT 3
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-legislators.