@@ -0,0 +1,1184 @@
+from data_collection.management.commands import BaseMorphApiImporter%0A%0Aclass Command(BaseMorphApiImporter):%0A%0A    srid = 4326%0A    districts_srid  = 4326%0A    council_id = 'E07000121'%0A    elections = %5B'local.lancashire.2017-05-04'%5D%0A    scraper_name = 'wdiv-scrapers/DC-PollingStations-Lancaster'%0A    geom_type = 'geojson'%0A%0A    def district_record_to_dict(self, record):%0A        poly = self.extract_geometry(record, self.geom_type, self.get_srid('districts'))%0A        return %7B%0A            'internal_council_id': record%5B'PD_REF'%5D,%0A            'name'               : record%5B'PD_NAME'%5D,%0A            'area'               : poly,%0A            'polling_station_id' : record%5B'PD_REF'%5D,%0A        %7D%0A%0A    def station_record_to_dict(self, record):%0A        location = self.extract_geometry(record, self.geom_type, self.get_srid('stations'))%0A        stations = %5B%5D%0A        codes = record%5B'DISTRICT'%5D.split(' ')%0A        for code in codes:%0A            stations.append(%7B%0A                'internal_council_id': code,%0A                'postcode':            '',%0A                'address':             record%5B'POLLING_PL'%5D,%0A                'location':            location,%0A            %7D)%0A        return stations%0A

add import script for Lancaster