Skip to content

Commit

Permalink
Merge pull request #4667 from NewAgeAirbender/nc_bills
Browse files Browse the repository at this point in the history
NC: Dedupe VoteEvent by Roll Call Number
  • Loading branch information
NewAgeAirbender committed Jun 28, 2023
2 parents c503dca + 33bf1d7 commit 9f89fd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scrapers/nc/bills.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ def scrape_votes(self, bill, doc):
bill=bill,
classification="passage", # TODO: classify votes
)
ve.dedupe_key = rcs
ve.set_count("yes", int(aye))
ve.set_count("no", int(no))
ve.set_count("not voting", int(nv))
Expand Down

0 comments on commit 9f89fd4

Please sign in to comment.