Skip to content
John Heasly edited this page May 18, 2016 · 2 revisions

The ASCII format map as it appeared for May 17, 2016 Primary

To translate the Position ranges below to Python, keep the righthand one, decrement the lefthand one by one. i.e., 134 - 158 = [133:158]

The ruler is for your convenience and will not be included in the actual results text file.
Everything listed below is documentation on the record layouts and will not be included in the results file.  
Fields may have a different meaning depending on the record type.  

1.......10........20........30........40........50........60........70........80........90.......100.......110.......120.......130.......140.......150.......160.......170
         |         |         |         |         |         |         |         |         |         |         |         |         |         |         |         |         |

000000000830000000000000000000000000000PRECINCTS COUNTED - TOTAL                               PRECINCTS COUNTED - TOTAL                                         
00960010083000000000000000000          REGISTERED VOTERS - TOTAL                               REGISTERED VOTERS - TOTAL                                      00 
0097001008300000000000000000           BALLOTS CAST - TOTAL                                    BALLOTS CAST - TOTAL                                           00 
0100001008300000000000000000 NONLCC    Director Zone 2 LANE COMMUNITY COLLEGE                  George Washington                                              01 
0100002008300000000000000000 NONLCC    Director Zone 2 LANE COMMUNITY COLLEGE                  WRITE-IN                                                       01 
0100003008300000000000000000    LCC    Director Zone 2 LANE COMMUNITY COLLEGE                  OVER VOTES                                                     01 
0100004008300000000000000000    LCC    Director Zone 2 LANE COMMUNITY COLLEGE                  UNDER VOTES                                                    01 
0101001008300000000000000000 NONLCC    Director Zone 5 LANE COMMUNITY COLLEGE                  John Adams                                                     01 
0101002008300000000000000000 NONLCC    Director Zone 5 LANE COMMUNITY COLLEGE                  WRITE-IN                                                       01 
0101003008300000000000000000    LCC    Director Zone 5 LANE COMMUNITY COLLEGE                  OVER VOTES                                                     01 
0101004008300000000000000000    LCC    Director Zone 5 LANE COMMUNITY COLLEGE                  UNDER VOTES                                                    01 

===========================
FILE LAYOUT
===========================
Line 1 is the PRECINCTS COUNTED record 
Line 2 is the REGISTERED VOTERS record 
Line 3 is the BALLOTS CAST record 
Lines 4+ are the RESULTS records.

===========================
RESULTS RECORD LAYOUT
===========================

Position   Field Description                       Field Definition              Note
--------   -------------------------------------   ---------------------------   ---------------------------------
1 – 4      Contest Number                          4 Position Numeric  
5 – 7      Candidate Number                        3 Position Numeric  
8 – 11     # Eligible Precincts                    4 Position Numeric  
12 – 18    # Reg. Voters in Precincts Reported     7 Position Numeric            Prints in the counter area only
12 – 18    Total Votes                             7 Position Numeric            Prints in the counter area only
19 – 22    # Counted Precincts                     4 Position Numeric  
23 – 29    Total # Registered Voters               7 Position Numeric            Prints in the counter area only
23 – 25    # Eligible Absentee Precincts           3 Position Numeric            Prints in the counter area only
26 – 28    # Counted Absentee Precincts            3 Position Numeric            Prints in the counter area only
29         Filler                                  1 Position                    Prints in the contest area only
30 – 32    Party Code                              3 Position Alphanumeric 
33 – 35    District Type ID                        3 Position Alphanumeric 
36 – 39    District Code                           4 Position Alphanumeric 
40 – 95    Contest Title                           56 Position Alphanumeric  
96 – 133   Candidate Name                          38 Position Alphanumeric  
134 – 158  District Name                           25 Position Alphanumeric  
159 – 160  Vote For                                2 Position Numeric  
161        Referendum Flag                         1 Position  
162        CR Code (0D)    
163        LF Code (0A)