-
Notifications
You must be signed in to change notification settings - Fork 2
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
Set the order of cosponsors for the Committees and Cosponsors box #306
Comments
The Committee information we have for each legislator is of the form: So we can tell a) which committees, b) majority/minority from this. From the committee membership data, we can get the https://github.com/unitedstates/congress-legislators/blob/master/committee-membership-current.yaml
Edit: we already add this information in common.cosponsors.py, in |
@aih Is this a priority for this week or a backlog item? |
This is one of two priorities for this week |
@aih and I had a discussion about this issue. We have decided that I will be prioritizing #305 first. After that, I'd do some research on the seven sorting/grouping logics mentioned above and see whether or not we have all of the attributes required to implement them, and the relationships among those attributes. |
As of e488eb5 |
Minority ranking member (criterion 3 above) is the minority member with rank = 1, and has title = 'Ranking Member':
|
Leadership position, if any, is in the Cosponsor table, in the 'leadership' field, e.g.: [{"start": "2021-01-03", "title": "Speaker of the House", "chamber": "house"},
{"end": "2021-01-03", "start": "2019-01-03", "title": "Speaker of the House", "chamber": "house"}, {"end": "2019-01-03", "start": "2017-01-03", "title": "House Minority Leader", "chamber": "house"}, {"end": "2017-01-03", "start": "2015-01-06", "title": "House Minority Leader", "chamber": "house"}, {"end": "2015-01-03", "start": "2013-01-03", "title": "House Minority Leader", "chamber": "house"}, {"end": "2013-01-03", "start": "2011-01-05", "title": "House Minority Leader", "chamber": "house"}] |
Per discussion with Daniel, I will implement the following sorting order for the top-right table. I will pick 5 from the list of co-sponsors. The sorting criteria are:
|
This applies only to the ordering of the Cosponsors desired in the
Committees and Cosponsors
box in the top right.From Daniel
The text was updated successfully, but these errors were encountered: