from data_collection.management.commands import BaseXpressDemocracyClubCsvImporter

class Command(BaseXpressDemocracyClubCsvImporter):
    council_id = 'E07000139'
    addresses_name = 'Democracy_Club export for NKDC__04May2017.tsv'
    stations_name = 'Democracy_Club export for NKDC__04May2017.tsv'
    elections = [
        'local.lincolnshire.2017-05-04',
        'parl.2017-06-08'
    ]
    csv_delimiter = '\t'
    csv_encoding  = 'latin-1'

@@ -183,265 +183,616 @@
  = '
-Democracy_Club export for NKDC__04May2017.tsv'%0A    stations_name = 'Democracy_Club export for NKDC__04May2017.tsv'%0A    elections = %5B%0A        'local.lincolnshire.2017-05-04',%0A        'parl.2017-06-08'%0A    %5D%0A    csv_delimiter = '%5Ct'%0A    csv_encoding  = 'latin-1'
+parl.2017-06-08/Version 1/merged.tsv'%0A    stations_name = 'parl.2017-06-08/Version 1/merged.tsv'%0A    elections = %5B%0A        'parl.2017-06-08'%0A    %5D%0A    csv_delimiter = '%5Ct'%0A    csv_encoding  = 'latin-1'%0A%0A    def station_record_to_dict(self, record):%0A%0A        %22%22%22%0A        File supplied contained obviously inaccurate point%0A        remove it and fall back to geocoding%0A        %22%22%22%0A        if record.polling_place_id == '4421':%0A            record = record._replace(polling_place_easting = '0')%0A            record = record._replace(polling_place_northing = '0')%0A%0A        return super().station_record_to_dict(record)
 %0A

update North Kesteven import script for parl.2017-08-06 (closes #972)