You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once we do this, we'll need to tend to Chicago Councilmatic, since https://ocd.datamade.us/ocd-bill/8efd9d9c-3397-4b5a-a7cc-fc935e9eb10a/ was never imported to the site.
Recently, Chicago Legistar had a bill with duplicate
indexes
:The scraper imported these duplicates (as seen in our OCD API):
Our Councilmatic database could not import the bill, due to an Integrity error (i.e., trying to import the same Subject more than once).
We could approach this a couple ways:
(1) The scraper should fail when trying to add duplicate subjects to a Bill.
-OR-
(2) The scraper should not fail, but it should not be able to create duplicate subjects (maybe by making
Bill.subject
a set, rather than list, in pupa? or checking if a subject exists before appending it?)The text was updated successfully, but these errors were encountered: