Skip to content

Commit

Permalink
Import script for Rossendale (2024-05-02) (closes #6661)
Browse files Browse the repository at this point in the history
  • Loading branch information
polling-bot-4000 committed Mar 18, 2024
1 parent cf0ce25 commit 7617d39
Showing 1 changed file with 3 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,10 @@
class Command(BaseXpressDemocracyClubCsvImporter):
council_id = "ROS"
addresses_name = (
"2023-05-04/2023-03-13T10:59:57.560334/Democracy_Club__04May2023 (1).tsv"
"2024-05-02/2024-03-18T15:46:48.192713/Democracy_Club__02May2024 (23).tsv"
)
stations_name = (
"2023-05-04/2023-03-13T10:59:57.560334/Democracy_Club__04May2023 (1).tsv"
"2024-05-02/2024-03-18T15:46:48.192713/Democracy_Club__02May2024 (23).tsv"
)
elections = ["2023-05-04"]
elections = ["2024-05-02"]
csv_delimiter = "\t"

def address_record_to_dict(self, record):
if record.addressline6 in [
# split
"BB4 8TT",
"OL13 0QR",
# wrong
"OL13 8PQ",
]:
return None

return super().address_record_to_dict(record)

0 comments on commit 7617d39

Please sign in to comment.