Skip to content

Commit

Permalink
Import script for Derbyshire Dales (2024-05-02) (closes #6242)
Browse files Browse the repository at this point in the history
  • Loading branch information
polling-bot-4000 committed Feb 22, 2024
1 parent 37396f3 commit 0e8f836
Showing 1 changed file with 8 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,11 @@

class Command(BaseDemocracyCountsCsvImporter):
council_id = "DEB"
addresses_name = "2023-05-04/2023-04-19T10:30:20.449617/Democracy Club - Polling Districts 170423.csv"
stations_name = "2023-05-04/2023-04-19T10:30:20.449617/Democracy Club - Polling Stations 180423.csv"
elections = ["2023-05-04"]

def address_record_to_dict(self, record):
if record.postcode in [
# split
"DE6 2AR",
]:
return None

return super().address_record_to_dict(record)
addresses_name = (
"2024-05-02/2024-02-22T12:08:18.459885/Democracy Club - Polling Districts.csv"
)
stations_name = (
"2024-05-02/2024-02-22T12:08:18.459885/Democracy Club - Polling Stations.csv"
)
elections = ["2024-05-02"]
csv_encoding = "utf-16le"

0 comments on commit 0e8f836

Please sign in to comment.