-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import script for Wyre (2024-07-04) (closes #7068)
- Loading branch information
1 parent
2e94386
commit e65d9a2
Showing
1 changed file
with
9 additions
and
4 deletions.
There are no files selected for viewing
13 changes: 9 additions & 4 deletions
13
polling_stations/apps/data_importers/management/commands/import_wyre.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
from data_importers.management.commands import Unknown | ||
from data_importers.management.commands import BaseXpressDemocracyClubCsvImporter | ||
|
||
|
||
class Command(Unknown): | ||
class Command(BaseXpressDemocracyClubCsvImporter): | ||
council_id = "WYR" | ||
addresses_name = "2024-07-04/2024-05-24T11:01:24.349444/Polling_Place_Postcode_Lookup__04July2024.tsv" | ||
stations_name = "2024-07-04/2024-05-24T11:01:24.349444/Polling_Place_Postcode_Lookup__04July2024.tsv" | ||
addresses_name = ( | ||
"2024-07-04/2024-05-29T08:48:44.168590/Democracy_Club__04July2024.tsv" | ||
) | ||
stations_name = ( | ||
"2024-07-04/2024-05-29T08:48:44.168590/Democracy_Club__04July2024.tsv" | ||
) | ||
elections = ["2024-07-04"] | ||
csv_encoding = "windows-1252" | ||
csv_delimiter = "\t" |