openelections-data-tx icon indicating copy to clipboard operation
openelections-data-tx copied to clipboard

Precinct style variance

Open alanhuang122 opened this issue 6 years ago • 3 comments

I listed every first precinct in every file. This was the result.

>>> precincts
{'101 B', '113', 'Box 2', '7', 'Precinct 201 ', '12', '2- HANKAMER', '1--1', '1W', '10', '1001', 'PCT 2', '0102',
'2-Hearne', '0122', '5', 'PCT 121 -- SAN JACINTO', '1A', 'Precinct 2  ', 'PRECINCT 1', '0002', '0103',
'Precinct 2/8', '114', '1000', '1CR', '11', '2 Savoy', '202', '103,104,105', '101.0', 'PCT 1A', '1103', 'Box 101', 
'1002', '1110', '103.104.105', 'Lagarto', '105', '2,8', '0101', '102', '106', '102 WF', '1.0', '13', '1011', 
'1 North La Grange', '3-4', '110', '402', '201', '101 BS4', 'Box 102', '104', '103', '02', '01', '0011', '2-11', 
'002-EPC NORTHWEST ANNEX', 'PCT 6 -  BYERS', '1 - COVE  ', '#2 Dogan', '101-0', '1A3B', 
'1 W Bon-Armory', 'Precinct 2', '109', '103 BS40', '001A', '111', '100', '122', '9', '01-1', '107', '1001-5102', 
'1B', '1002 B', '1A5A', 'Precinct 002 - 02', '0006', '111 CITY', '0002  PRECINCT  102', '6', 
'Lamb County Ag Center', '2', '0402', '1', '101', '102 city', '1S', '001N', '3', '27', 'PCT 102'}

Evidently, there's a lot of variance between files. I'm considering standardizing these, unless there's a higher priority task.

alanhuang122 avatar Mar 30 '18 04:03 alanhuang122

@alanhuang122 what's your plan for standardizing them?

dwillis avatar Mar 30 '18 19:03 dwillis

You might have surmised from #108; removing leading zeroes from numeric precinct numbers, converting floating point representations to integer representations, stripping names and prepended "Precinct", etc.

alanhuang122 avatar Mar 31 '18 19:03 alanhuang122

Ok, yeah. I'm down with that.

dwillis avatar Apr 02 '18 21:04 dwillis