Skip to content
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

Add shared sponsors to relatedBills #14

Closed
aih opened this issue Sep 7, 2020 · 1 comment
Closed

Add shared sponsors to relatedBills #14

aih opened this issue Sep 7, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@aih
Copy link
Collaborator

aih commented Sep 7, 2020

In data.json, the sponsor item is an object of the form:

image

cosponsors is an array of the form:
image

In relatedBills, if the two bills share the sponsor (both bioguide id and name), add the cosponsor item. If they share any sponsors, add a sponsors array with the shared sponsors (as they are found in the related bill).

@aih aih added the enhancement New feature or request label Sep 7, 2020
@aih aih self-assigned this Sep 7, 2020
aih added a commit that referenced this issue Sep 7, 2020
@aih
Copy link
Collaborator Author

aih commented Sep 7, 2020

Working to show cosponsors that are shared. Note that not all data.json contains cosponsor data.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant