Skip to content

Instantly share code, notes, and snippets.

@jhallard
Last active November 5, 2020 20:18
Show Gist options
  • Save jhallard/e4c66cf71afdbeccd272f537ec3c388c to your computer and use it in GitHub Desktop.
Save jhallard/e4c66cf71afdbeccd272f537ec3c388c to your computer and use it in GitHub Desktop.
Detroit Benford Distribution Checker
#!/usr/bin/env python3
"""
Download the Detroit precinct reporting data from here:
https://election-county-reports-prod112020.s3.amazonaws.com/4539283c-3f09-4fdf-ad93-0bfd82d32be1/c64f9ade-9049-43ef-ab73-3feebc7ef5f0/Results%20per%20Precinct%20Data%20report.pdf
save it to /tmp/data.txt and this will anlayze the dem/repub reported vote counts and show their benford distribution
"""
data = open('/tmp/data.txt').readlines()
filtered = list()
# remove the lines that don't contain data (page headers, etc)
for line in data:
values = line.split()
try:
int(values[0])
except ValueError:
continue
else:
filtered.append(values)
# normalize the counts from 1,000 to 1000
dems = map(lambda x: int(x[5].replace(',', '')), filtered)
repubs = map(lambda x: int(x[6].replace(',', '')), filtered)
dbenfords = {key: 0 for key in range(0, 10)}
rbenfords = {key: 0 for key in range(0, 10)}
print("Total Dem Votes: ", sum(dems))
print("Total Repub Votes: ", sum(repubs))
# bucket the leading digits
for i in range(len(filtered)):
key = int(str(dems[i])[0])
dbenfords[key] += 1
key = int(str(repubs[i])[0])
rbenfords[key] += 1
for key in dbenfords:
dbenfords[key] = dbenfords[key] / float(len(filtered))
rbenfords[key] = rbenfords[key] / float(len(filtered))
print("Party, Leading Digit, Frequency")
for key in dbenfords:
print("dems, %d, %.4f" %(key, dbenfords[key]))
for key in rbenfords:
print("repubs, %d, %.3f"% (key, rbenfords[key]))
"""
DATA BELOW
206 City of Detroit AVCB 2 1,484 75 1 8 10 2 1
207 City of Detroit AVCB 3 1,509 33 1 6 8 0 1
208 City of Detroit AVCB 4 1,414 34 3 4 6 0 1
209 City of Detroit AVCB 5 1,340 24 2 2 5 2 0
210 City of Detroit AVCB 6 1,971 65 8 6 11 6 6
211 City of Detroit AVCB 7 1,340 25 5 2 3 2 0
212 City of Detroit AVCB 8 1,319 18 4 0 2 2 0
213 City of Detroit AVCB 9 771 9 2 2 3 0 0
214 City of Detroit AVCB 10 734 6 0 0 0 2 1
215 City of Detroit AVCB 11 1,433 58 1 1 7 2 1
216 City of Detroit AVCB 12 939 20 2 1 1 0 0
217 City of Detroit AVCB 13 1,024 19 1 0 0 2 0
218 City of Detroit AVCB 14 1,354 21 3 0 1 1 0
219 City of Detroit AVCB 15 1,437 15 0 2 7 0 0
220 City of Detroit AVCB 16 1,662 27 3 6 2 2 0
221 City of Detroit AVCB 17 2,184 56 8 7 6 3 2
222 City of Detroit AVCB 18 1,701 29 2 5 4 2 1
223 City of Detroit AVCB 19 1,796 45 5 2 10 2 1
224 City of Detroit AVCB 20 1,819 23 6 3 8 1 0
225 City of Detroit AVCB 21 1,669 28 3 1 3 4 1
226 City of Detroit AVCB 22 2,020 24 2 3 10 4 4
227 City of Detroit AVCB 23 2,205 92 4 7 4 4 3
228 City of Detroit AVCB 24 1,952 52 10 4 2 4 0
229 City of Detroit AVCB 25 2,564 123 3 6 14 8 4
230 City of Detroit AVCB 26 2,616 102 5 7 16 3 2
231 City of Detroit AVCB 27 1,860 33 1 2 7 2 0
232 City of Detroit AVCB 28 1,770 19 2 1 8 4 0
233 City of Detroit AVCB 29 1,622 56 1 1 2 2 2
234 City of Detroit AVCB 30 1,657 35 3 3 6 3 2
235 City of Detroit AVCB 31 1,798 27 6 2 9 0 3
236 City of Detroit AVCB 32 1,515 34 4 1 7 1 0
237 City of Detroit AVCB 33 0 0 0 0 0 0 0
238 City of Detroit AVCB 34 1,372 19 3 1 6 1 0
239 City of Detroit AVCB 35 1,227 39 1 1 2 2 0
240 City of Detroit AVCB 36 2,047 48 11 4 11 8 3
241 City of Detroit AVCB 37 1,801 24 5 2 9 0 2
242 City of Detroit AVCB 38 2,278 44 3 9 9 3 2
243 City of Detroit AVCB 39 1,665 55 8 3 8 1 2
244 City of Detroit AVCB 40 1,653 34 0 2 5 4 1
245 City of Detroit AVCB 41 1,412 26 3 2 2 0 0
246 City of Detroit AVCB 42 967 22 1 1 3 0 0
247 City of Detroit AVCB 43 1,332 16 1 2 2 1 0
248 City of Detroit AVCB 44 1,262 11 3 0 2 1 2
249 City of Detroit AVCB 45 1,153 14 2 0 8 1 0
250 City of Detroit AVCB 46 1,197 25 3 4 8 5 1
251 City of Detroit AVCB 47 974 13 5 1 4 1 0
252 City of Detroit AVCB 48 890 17 1 3 2 2 0
253 City of Detroit AVCB 49 822 19 1 3 2 1 2
254 City of Detroit AVCB 50 1,365 23 5 3 6 3 2
255 City of Detroit AVCB 51 1,586 27 1 3 8 0 1
256 City of Detroit AVCB 52 1,682 53 1 1 14 5 2
257 City of Detroit AVCB 53 949 23 2 2 4 1 0
258 City of Detroit AVCB 54 794 26 7 4 6 0 0
City of Detroit
6/747
Precinct Democrat Party Republican Party Libertarian Party
U.S. Taxpayers
Party
Working Class
Party
Green Party Natural Law Party
259 City of Detroit AVCB 55 2,076 110 2 6 4 6 3
260 City of Detroit AVCB 56 1,183 19 1 2 3 1 1
261 City of Detroit AVCB 57 0 0 0 0 0 0 0
262 City of Detroit AVCB 58 0 0 0 0 0 0 0
263 City of Detroit AVCB 59 860 14 0 3 6 3 1
264 City of Detroit AVCB 60 1,132 25 2 0 7 4 0
265 City of Detroit AVCB 61 492 9 1 0 1 1 2
266 City of Detroit AVCB 62 1,765 70 7 1 9 1 2
267 City of Detroit AVCB 63 1,521 49 3 6 15 2 1
268 City of Detroit AVCB 64 1,484 35 3 6 13 2 0
269 City of Detroit AVCB 65 1,690 33 2 6 8 3 0
270 City of Detroit AVCB 66 1,431 22 2 3 4 2 0
271 City of Detroit AVCB 67 1,391 16 2 5 4 0 3
272 City of Detroit AVCB 68 1,035 17 2 3 4 3 0
273 City of Detroit AVCB 69 933 14 2 2 6 0 1
274 City of Detroit AVCB 70 767 12 2 3 6 4 1
275 City of Detroit AVCB 71 377 11 0 0 0 1 0
276 City of Detroit AVCB 72 1,178 13 3 1 5 3 3
277 City of Detroit AVCB 73 1,295 32 2 4 1 2 0
278 City of Detroit AVCB 74 970 34 2 0 2 4 1
279 City of Detroit AVCB 75 1,413 39 1 0 4 2 0
280 City of Detroit AVCB 76 508 2 0 1 2 2 0
281 City of Detroit AVCB 77 1,493 28 7 4 8 3 1
282 City of Detroit AVCB 78 1,385 25 1 2 9 3 2
283 City of Detroit AVCB 79 1,002 16 1 3 4 1 2
284 City of Detroit AVCB 80 567 11 0 0 6 0 2
285 City of Detroit AVCB 81 817 18 1 2 2 0 3
286 City of Detroit AVCB 82 527 49 0 3 0 1 0
287 City of Detroit AVCB 83 714 64 5 1 3 1 1
288 City of Detroit AVCB 84 754 60 5 3 4 1 1
289 City of Detroit AVCB 85 465 23 3 0 0 0 0
290 City of Detroit AVCB 86 1,160 56 1 0 6 3 2
291 City of Detroit AVCB 87 1,096 92 5 1 3 3 1
292 City of Detroit AVCB 88 1,600 173 13 4 17 6 6
293 City of Detroit AVCB 89 1,717 59 6 6 2 5 0
294 City of Detroit AVCB 90 361 5 1 2 2 0 1
295 City of Detroit AVCB 91 447 8 1 0 2 2 0
296 City of Detroit AVCB 92 743 13 1 1 3 4 1
297 City of Detroit AVCB 93 823 13 2 1 1 1 0
298 City of Detroit AVCB 94 1,132 18 1 5 6 3 1
299 City of Detroit AVCB 95 1,449 20 3 3 8 1 4
300 City of Detroit AVCB 96 804 9 2 2 1 3 2
301 City of Detroit AVCB 97 264 2 0 2 0 0 1
302 City of Detroit AVCB 98 307 4 0 0 1 1 0
303 City of Detroit AVCB 99 284 3 1 2 0 0 0
304 City of Detroit AVCB 100 109 7 0 0 1 0 0
305 City of Detroit AVCB 101 171 1 0 0 0 0 0
306 City of Detroit AVCB 102 293 5 1 2 3 0 0
307 City of Detroit AVCB 103 155 1 0 0 0 0 0
308 City of Detroit AVCB 104 213 8 0 0 0 0 0
309 City of Detroit AVCB 105 4 0 0 0 0 0 0
310 City of Detroit AVCB 106 11 0 0 0 0 0 0
311 City of Detroit AVCB 107 145 2 0 0 0 1 1
City of Detroit
7/747
Precinct Democrat Party Republican Party Libertarian Party
U.S. Taxpayers
Party
Working Class
Party
Green Party Natural Law Party
312 City of Detroit AVCB 108 285 5 0 0 1 0 1
313 City of Detroit AVCB 109 337 0 1 0 1 0 1
314 City of Detroit AVCB 110 169 12 0 1 2 0 0
315 City of Detroit AVCB 111 42 0 0 0 0 0 0
316 City of Detroit AVCB 112 284 8 0 3 2 1 2
317 City of Detroit AVCB 113 3 0 0 0 0 0 0
318 City of Detroit AVCB 114 248 11 2 1 1 0 0
319 City of Detroit AVCB 115 51 2 0 0 0 0 1
320 City of Detroit AVCB 116 273 7 0 0 2 0 1
321 City of Detroit AVCB 117 353 5 0 1 1 2 2
322 City of Detroit AVCB 118 20 0 0 0 0 0 0
323 City of Detroit AVCB 119 139 2 1 0 1 0 0
324 City of Detroit AVCB 120 441 13 1 0 1 3 0
325 City of Detroit AVCB 121 208 3 1 1 2 1 1
326 City of Detroit AVCB 122 324 9 0 1 1 0 1
327 City of Detroit AVCB 123 200 3 0 0 1 1 0
328 City of Detroit AVCB 124 231 5 0 0 1 0 1
329 City of Detroit AVCB 125 4 0 0 0 0 0 0
330 City of Detroit AVCB 126 43 0 0 1 0 0 0
331 City of Detroit AVCB 127 3 0 0 0 0 0 0
332 City of Detroit AVCB 128 115 13 1 0 0 0 0
333 City of Detroit AVCB 129 14 1 0 0 0 0 0
334 City of Detroit AVCB 130 232 0 2 0 2 1 1
335 City of Detroit AVCB 131 126 2 0 0 1 0 0
336 City of Detroit AVCB 132 96 1 0 0 0 1 0
337 City of Detroit AVCB 133 260 3 1 0 0 0 0
338 City of Detroit AVCB 134 304 3 0 0 2 1 2
339 City of Detroit Precinct 1 84 0 1 0 1 0 0
340 City of Detroit Precinct 2 108 4 3 0 2 1 0
341 City of Detroit Precinct 3 136 6 1 1 2 1 1
342 City of Detroit Precinct 4 93 1 0 2 1 2 0
343 City of Detroit Precinct 5 89 3 0 0 1 0 0
344 City of Detroit Precinct 6 157 3 0 0 0 0 0
345 City of Detroit Precinct 7 142 13 0 1 1 0 1
346 City of Detroit Precinct 8 151 12 3 3 1 1 1
347 City of Detroit Precinct 9 73 3 1 0 2 1 0
348 City of Detroit Precinct 10 126 2 0 1 0 0 0
349 City of Detroit Precinct 11 19 2 0 0 0 1 0
350 City of Detroit Precinct 12 132 10 2 0 0 0 0
351 City of Detroit Precinct 13 87 5 0 0 0 0 1
352 City of Detroit Precinct 14 127 1 0 1 2 0 0
353 City of Detroit Precinct 15 160 5 1 0 1 0 1
354 City of Detroit Precinct 16 138 6 0 0 2 0 1
355 City of Detroit Precinct 17 145 7 0 0 0 1 0
356 City of Detroit Precinct 18 266 10 1 0 3 0 1
357 City of Detroit Precinct 19 140 15 1 0 2 0 0
358 City of Detroit Precinct 20 267 14 0 2 3 0 0
359 City of Detroit Precinct 21 138 25 0 0 4 0 0
360 City of Detroit Precinct 22 138 24 2 2 0 0 0
361 City of Detroit Precinct 23 157 7 0 1 2 0 1
362 City of Detroit Precinct 24 85 6 1 1 0 0 0
363 City of Detroit Precinct 25 159 7 0 0 1 1 1
364 City of Detroit Precinct 26 211 5 1 0 0 0 1
City of Detroit
8/747
Precinct Democrat Party Republican Party Libertarian Party
U.S. Taxpayers
Party
Working Class
Party
Green Party Natural Law Party
365 City of Detroit Precinct 27 129 5 2 0 1 1 0
366 City of Detroit Precinct 28 17 2 0 0 0 0 0
367 City of Detroit Precinct 29 75 2 0 0 2 0 0
368 City of Detroit Precinct 30 97 7 0 0 1 0 0
369 City of Detroit Precinct 31 175 5 0 2 1 3 1
370 City of Detroit Precinct 32 99 3 1 1 1 0 0
371 City of Detroit Precinct 33 172 11 1 1 1 1 0
372 City of Detroit Precinct 34 163 14 1 1 0 2 0
373 City of Detroit Precinct 35 102 1 1 1 0 1 1
374 City of Detroit Precinct 36 41 0 0 0 0 0 0
375 City of Detroit Precinct 37 207 13 0 2 1 0 1
376 City of Detroit Precinct 38 153 7 1 0 0 0 1
377 City of Detroit Precinct 39 206 6 1 1 3 0 0
378 City of Detroit Precinct 40 148 0 3 2 1 0 1
379 City of Detroit Precinct 41 125 4 0 1 0 0 2
380 City of Detroit Precinct 42 89 6 1 0 1 0 0
381 City of Detroit Precinct 43 225 8 0 2 0 3 3
382 City of Detroit Precinct 44 162 4 0 0 1 0 0
383 City of Detroit Precinct 45 147 11 0 3 4 1 1
384 City of Detroit Precinct 46 60 2 0 1 1 0 0
385 City of Detroit Precinct 47 165 5 1 1 2 2 1
386 City of Detroit Precinct 48 34 3 0 1 0 0 0
387 City of Detroit Precinct 49 108 2 0 2 1 0 0
388 City of Detroit Precinct 50 103 4 0 1 2 0 2
389 City of Detroit Precinct 51 144 4 1 1 3 1 2
390 City of Detroit Precinct 52 145 4 1 2 0 1 0
391 City of Detroit Precinct 53 163 10 0 0 2 0 1
392 City of Detroit Precinct 54 84 3 1 1 0 0 0
393 City of Detroit Precinct 55 143 4 0 1 2 0 0
394 City of Detroit Precinct 56 137 5 0 0 0 0 0
395 City of Detroit Precinct 57 90 1 1 0 0 1 0
396 City of Detroit Precinct 58 72 3 0 0 0 0 0
397 City of Detroit Precinct 59 114 8 0 0 1 0 1
398 City of Detroit Precinct 60 163 8 1 2 0 1 0
399 City of Detroit Precinct 61 91 3 0 1 0 1 1
400 City of Detroit Precinct 62 55 6 0 0 0 1 0
401 City of Detroit Precinct 63 233 11 0 2 3 0 0
402 City of Detroit Precinct 64 114 5 1 0 4 0 1
403 City of Detroit Precinct 65 154 9 0 2 2 0 1
404 City of Detroit Precinct 66 167 12 3 0 1 0 0
405 City of Detroit Precinct 67 105 13 0 0 0 0 0
406 City of Detroit Precinct 68 181 8 0 0 1 0 0
407 City of Detroit Precinct 69 158 9 0 0 0 0 0
408 City of Detroit Precinct 70 116 7 0 3 1 0 0
409 City of Detroit Precinct 71 164 10 1 0 2 0 0
410 City of Detroit Precinct 72 159 12 0 3 0 0 0
411 City of Detroit Precinct 73 143 8 1 0 1 1 0
412 City of Detroit Precinct 74 134 3 2 3 1 1 1
413 City of Detroit Precinct 75 134 6 0 2 1 1 0
414 City of Detroit Precinct 76 51 0 0 0 1 0 0
415 City of Detroit Precinct 77 67 3 0 0 0 0 0
416 City of Detroit Precinct 78 50 4 0 0 2 0 0
417 City of Detroit Precinct 79 129 9 1 0 4 1 0
City of Detroit
9/747
Precinct Democrat Party Republican Party Libertarian Party
U.S. Taxpayers
Party
Working Class
Party
Green Party Natural Law Party
418 City of Detroit Precinct 80 153 3 1 1 1 0 1
419 City of Detroit Precinct 81 249 9 3 1 2 0 2
420 City of Detroit Precinct 82 180 8 1 0 2 2 1
421 City of Detroit Precinct 83 260 9 1 2 3 0 2
422 City of Detroit Precinct 84 266 21 1 2 2 2 0
423 City of Detroit Precinct 85 165 9 2 1 0 0 1
424 City of Detroit Precinct 86 156 6 1 2 2 0 0
425 City of Detroit Precinct 87 15 0 0 0 0 0 0
426 City of Detroit Precinct 88 145 6 1 0 1 1 2
427 City of Detroit Precinct 89 92 4 2 0 2 1 0
428 City of Detroit Precinct 90 0 0 0 0 0 0 0
429 City of Detroit Precinct 91 224 13 0 2 1 1 0
430 City of Detroit Precinct 92 175 25 0 1 1 0 0
431 City of Detroit Precinct 93 103 0 0 1 0 1 0
432 City of Detroit Precinct 94 201 14 2 1 5 0 0
433 City of Detroit Precinct 95 167 25 0 0 2 0 1
434 City of Detroit Precinct 96 110 6 0 0 2 1 0
435 City of Detroit Precinct 97 80 3 1 0 1 0 0
436 City of Detroit Precinct 98 144 16 0 1 1 1 0
437 City of Detroit Precinct 99 44 5 0 1 0 0 0
438 City of Detroit Precinct 100 57 2 0 1 0 1 0
439 City of Detroit Precinct 101 7 0 0 0 1 0 0
440 City of Detroit Precinct 102 108 4 0 0 1 0 0
441 City of Detroit Precinct 103 92 1 0 0 0 0 0
442 City of Detroit Precinct 104 54 1 0 0 0 0 1
443 City of Detroit Precinct 105 66 2 0 2 0 0 0
444 City of Detroit Precinct 106 138 2 1 2 4 0 0
445 City of Detroit Precinct 107 68 3 0 0 1 0 0
446 City of Detroit Precinct 108 144 3 0 0 1 0 2
447 City of Detroit Precinct 109 0 0 0 0 0 0 0
448 City of Detroit Precinct 110 117 5 2 0 2 1 1
449 City of Detroit Precinct 111 149 3 1 5 1 0 1
450 City of Detroit Precinct 112 97 3 3 1 0 0 2
451 City of Detroit Precinct 113 90 1 0 0 0 1 0
452 City of Detroit Precinct 114 97 8 0 2 1 0 0
453 City of Detroit Precinct 115 193 6 0 2 3 0 0
454 City of Detroit Precinct 116 130 6 1 1 3 0 0
455 City of Detroit Precinct 117 64 2 1 1 1 0 0
456 City of Detroit Precinct 118 137 3 0 0 2 0 0
457 City of Detroit Precinct 119 78 0 0 1 0 0 0
458 City of Detroit Precinct 120 108 2 0 2 1 0 2
459 City of Detroit Precinct 121 102 4 0 0 0 0 0
460 City of Detroit Precinct 122 62 3 0 0 0 1 1
461 City of Detroit Precinct 123 93 14 1 0 0 0 0
462 City of Detroit Precinct 124 83 16 0 0 0 0 0
463 City of Detroit Precinct 125 67 3 0 0 0 0 1
464 City of Detroit Precinct 126 110 12 2 0 0 0 2
465 City of Detroit Precinct 127 69 3 0 0 2 0 0
466 City of Detroit Precinct 128 132 8 0 1 1 0 0
467 City of Detroit Precinct 129 85 7 0 1 0 1 1
468 City of Detroit Precinct 130 98 5 0 0 0 0 0
469 City of Detroit Precinct 131 119 6 0 0 2 0 0
470 City of Detroit Precinct 132 100 12 0 0 0 0 0
City of Detroit
10/747
Precinct Democrat Party Republican Party Libertarian Party
U.S. Taxpayers
Party
Working Class
Party
Green Party Natural Law Party
471 City of Detroit Precinct 133 84 9 2 1 0 0 0
472 City of Detroit Precinct 134 70 6 1 1 1 0 1
473 City of Detroit Precinct 135 96 9 0 1 1 1 0
474 City of Detroit Precinct 136 199 7 1 1 1 0 1
475 City of Detroit Precinct 137 72 9 0 1 1 0 1
476 City of Detroit Precinct 138 68 3 0 0 0 0 0
477 City of Detroit Precinct 139 141 10 0 0 2 0 2
478 City of Detroit Precinct 140 74 2 0 0 0 0 0
479 City of Detroit Precinct 141 167 5 1 1 4 1 0
480 City of Detroit Precinct 142 75 6 2 0 1 1 0
481 City of Detroit Precinct 143 108 18 1 0 0 0 0
482 City of Detroit Precinct 144 109 21 3 0 2 0 1
483 City of Detroit Precinct 145 73 19 2 0 0 0 0
484 City of Detroit Precinct 146 96 7 0 0 2 0 0
485 City of Detroit Precinct 147 241 12 1 1 0 1 0
486 City of Detroit Precinct 148 0 0 0 0 0 0 0
487 City of Detroit Precinct 149 107 9 2 0 0 1 0
488 City of Detroit Precinct 150 114 10 1 0 1 0 0
489 City of Detroit Precinct 151 117 8 2 0 0 0 1
490 City of Detroit Precinct 152 42 7 0 0 1 0 0
491 City of Detroit Precinct 153 38 10 0 0 1 0 0
492 City of Detroit Precinct 154 26 7 0 0 0 0 0
493 City of Detroit Precinct 155 20 4 1 0 0 0 0
494 City of Detroit Precinct 156 178 5 0 2 1 0 0
495 City of Detroit Precinct 157 93 28 1 1 1 2 0
496 City of Detroit Precinct 158 156 10 0 0 1 0 0
497 City of Detroit Precinct 159 78 3 0 1 1 0 0
498 City of Detroit Precinct 160 121 4 0 1 2 1 0
499 City of Detroit Precinct 161 127 12 0 0 2 1 1
500 City of Detroit Precinct 162 45 5 0 0 0 0 0
501 City of Detroit Precinct 163 139 10 1 1 2 0 0
502 City of Detroit Precinct 164 143 8 1 0 1 0 0
503 City of Detroit Precinct 165 77 1 0 0 2 1 0
504 City of Detroit Precinct 166 109 13 0 0 2 0 0
505 City of Detroit Precinct 167 152 7 2 0 1 0 1
506 City of Detroit Precinct 168 97 6 0 1 2 0 0
507 City of Detroit Precinct 169 62 5 0 2 1 0 0
508 City of Detroit Precinct 170 106 1 1 1 2 0 0
509 City of Detroit Precinct 171 58 3 0 1 3 0 0
510 City of Detroit Precinct 172 92 11 0 0 1 1 1
511 City of Detroit Precinct 173 37 1 0 0 0 0 0
512 City of Detroit Precinct 174 127 6 0 1 0 0 0
513 City of Detroit Precinct 175 95 5 1 0 0 0 0
514 City of Detroit Precinct 176 98 7 0 0 2 1 0
515 City of Detroit Precinct 177 202 10 0 1 3 0 0
516 City of Detroit Precinct 178 125 12 0 2 0 0 0
517 City of Detroit Precinct 179 193 7 1 3 2 0 1
518 City of Detroit Precinct 180 57 0 0 0 1 0 0
519 City of Detroit Precinct 181 60 3 0 0 1 2 0
520 City of Detroit Precinct 182 227 8 1 1 5 0 0
521 City of Detroit Precinct 183 122 6 0 0 0 1 0
522 City of Detroit Precinct 184 204 4 1 1 3 0 0
523 City of Detroit Precinct 185 68 4 1 0 1 0 1
City of Detroit
11/747
Precinct Democrat Party Republican Party Libertarian Party
U.S. Taxpayers
Party
Working Class
Party
Green Party Natural Law Party
524 City of Detroit Precinct 186 66 4 0 0 3 0 0
525 City of Detroit Precinct 187 147 2 1 0 1 1 0
526 City of Detroit Precinct 188 120 5 1 1 2 0 1
527 City of Detroit Precinct 189 132 6 0 2 0 1 0
528 City of Detroit Precinct 190 158 3 0 1 2 0 0
529 City of Detroit Precinct 191 160 4 2 2 2 1 1
530 City of Detroit Precinct 192 140 5 0 0 1 0 1
531 City of Detroit Precinct 193 113 10 0 0 1 0 0
532 City of Detroit Precinct 194 116 5 0 2 1 0 1
533 City of Detroit Precinct 195 90 5 1 0 3 0 0
534 City of Detroit Precinct 196 112 2 1 0 1 0 0
535 City of Detroit Precinct 197 64 5 0 0 1 0 0
536 City of Detroit Precinct 198 49 10 0 0 1 0 0
537 City of Detroit Precinct 199 54 5 0 1 0 0 0
538 City of Detroit Precinct 200 88 5 0 1 0 0 1
539 City of Detroit Precinct 201 107 7 1 0 0 0 0
540 City of Detroit Precinct 202 57 10 0 0 1 0 0
541 City of Detroit Precinct 203 62 9 0 0 0 0 0
542 City of Detroit Precinct 204 118 9 0 0 1 0 0
543 City of Detroit Precinct 205 72 4 0 0 3 1 0
544 City of Detroit Precinct 206 106 5 0 1 0 0 1
545 City of Detroit Precinct 207 145 5 0 0 0 0 0
546 City of Detroit Precinct 208 104 12 0 0 0 0 0
547 City of Detroit Precinct 209 118 2 0 0 0 0 0
548 City of Detroit Precinct 210 101 6 0 1 0 0 0
549 City of Detroit Precinct 211 82 4 0 0 1 0 1
550 City of Detroit Precinct 212 136 0 0 1 1 0 0
551 City of Detroit Precinct 213 109 1 0 0 2 0 0
552 City of Detroit Precinct 214 143 8 1 2 4 1 0
553 City of Detroit Precinct 215 186 7 1 2 2 1 0
554 City of Detroit Precinct 216 58 3 1 0 1 0 0
555 City of Detroit Precinct 217 186 3 0 0 1 0 0
556 City of Detroit Precinct 218 87 2 0 1 0 0 0
557 City of Detroit Precinct 219 88 2 0 0 0 0 0
558 City of Detroit Precinct 220 135 9 0 1 0 1 0
559 City of Detroit Precinct 221 138 3 0 0 1 0 0
560 City of Detroit Precinct 222 74 0 0 0 1 0 0
561 City of Detroit Precinct 223 161 3 0 0 0 1 0
562 City of Detroit Precinct 224 63 1 0 0 0 0 0
563 City of Detroit Precinct 225 203 16 0 0 3 0 0
564 City of Detroit Precinct 226 78 2 1 0 1 0 0
565 City of Detroit Precinct 227 143 3 0 0 3 0 0
566 City of Detroit Precinct 228 108 8 0 0 1 0 1
567 City of Detroit Precinct 229 151 6 0 1 1 1 1
568 City of Detroit Precinct 230 150 5 0 1 1 0 0
569 City of Detroit Precinct 231 139 3 0 3 2 0 0
570 City of Detroit Precinct 232 185 8 0 1 1 0 0
571 City of Detroit Precinct 233 176 1 0 1 0 1 1
572 City of Detroit Precinct 234 128 9 1 2 2 0 0
573 City of Detroit Precinct 235 87 5 0 0 0 0 1
574 City of Detroit Precinct 236 176 3 1 0 0 1 1
575 City of Detroit Precinct 237 161 11 0 0 1 1 0
576 City of Detroit Precinct 238 134 10 2 1 2 0 0
City of Detroit
12/747
Precinct Democrat Party Republican Party Libertarian Party
U.S. Taxpayers
Party
Working Class
Party
Green Party Natural Law Party
577 City of Detroit Precinct 239 108 3 0 0 1 1 0
578 City of Detroit Precinct 240 131 5 2 0 0 0 1
579 City of Detroit Precinct 241 139 4 1 1 0 0 0
580 City of Detroit Precinct 242 166 6 2 2 2 0 1
581 City of Detroit Precinct 243 72 5 0 0 1 0 1
582 City of Detroit Precinct 244 170 6 1 0 0 0 0
583 City of Detroit Precinct 245 158 5 1 1 2 3 0
584 City of Detroit Precinct 246 166 8 1 1 1 1 0
585 City of Detroit Precinct 247 118 3 0 0 1 1 0
586 City of Detroit Precinct 248 97 2 0 0 0 0 0
587 City of Detroit Precinct 249 173 2 1 0 1 2 0
588 City of Detroit Precinct 250 179 5 0 1 1 0 1
589 City of Detroit Precinct 251 116 4 0 0 1 0 0
590 City of Detroit Precinct 252 107 1 0 0 1 0 0
591 City of Detroit Precinct 253 125 1 0 0 1 1 0
592 City of Detroit Precinct 254 194 9 1 1 0 0 1
593 City of Detroit Precinct 255 74 4 1 2 0 0 0
594 City of Detroit Precinct 256 120 6 0 2 3 1 1
595 City of Detroit Precinct 257 175 6 1 1 3 0 1
596 City of Detroit Precinct 258 156 9 1 1 3 0 0
597 City of Detroit Precinct 259 168 2 3 2 3 2 0
598 City of Detroit Precinct 260 116 7 1 2 1 0 2
599 City of Detroit Precinct 261 92 10 0 0 0 0 0
600 City of Detroit Precinct 262 95 7 1 0 1 0 1
601 City of Detroit Precinct 263 177 2 0 0 0 1 0
602 City of Detroit Precinct 264 123 15 0 1 0 1 0
603 City of Detroit Precinct 265 204 10 1 1 3 0 0
604 City of Detroit Precinct 266 71 5 1 0 0 0 0
605 City of Detroit Precinct 267 90 2 0 0 0 0 0
606 City of Detroit Precinct 268 104 8 0 0 1 1 0
607 City of Detroit Precinct 269 59 4 1 1 0 0 0
608 City of Detroit Precinct 270 47 0 0 0 0 0 1
609 City of Detroit Precinct 271 171 6 0 2 3 0 1
610 City of Detroit Precinct 272 77 5 0 0 0 1 0
611 City of Detroit Precinct 273 73 2 0 1 1 0 1
612 City of Detroit Precinct 274 103 7 0 3 1 3 0
613 City of Detroit Precinct 275 114 5 0 0 2 0 0
614 City of Detroit Precinct 276 217 13 1 1 3 1 0
615 City of Detroit Precinct 277 83 7 0 0 1 1 0
616 City of Detroit Precinct 278 123 4 1 0 0 1 0
617 City of Detroit Precinct 279 115 6 0 1 3 1 0
618 City of Detroit Precinct 280 159 5 0 0 1 2 1
619 City of Detroit Precinct 281 169 6 2 1 2 2 1
620 City of Detroit Precinct 282 194 2 1 0 1 0 1
621 City of Detroit Precinct 283 92 1 0 1 0 0 0
622 City of Detroit Precinct 284 126 4 0 0 1 0 0
623 City of Detroit Precinct 285 176 11 0 0 3 2 0
624 City of Detroit Precinct 286 168 9 1 1 1 0 2
625 City of Detroit Precinct 287 226 8 0 2 2 2 0
626 City of Detroit Precinct 288 188 14 2 1 2 0 0
627 City of Detroit Precinct 289 143 4 0 0 1 0 0
628 City of Detroit Precinct 290 117 4 0 1 1 0 0
629 City of Detroit Precinct 291 163 3 2 3 0 0 0
City of Detroit
13/747
Precinct Democrat Party Republican Party Libertarian Party
U.S. Taxpayers
Party
Working Class
Party
Green Party Natural Law Party
630 City of Detroit Precinct 292 180 4 1 0 2 0 0
631 City of Detroit Precinct 293 153 6 0 1 1 0 0
632 City of Detroit Precinct 294 176 6 0 1 3 0 1
633 City of Detroit Precinct 295 125 9 0 1 1 0 1
634 City of Detroit Precinct 296 121 5 1 2 2 0 0
635 City of Detroit Precinct 297 184 7 0 1 1 0 1
636 City of Detroit Precinct 298 221 24 1 0 5 1 1
637 City of Detroit Precinct 299 85 4 0 0 0 2 0
638 City of Detroit Precinct 300 131 26 0 1 3 1 0
639 City of Detroit Precinct 301 93 16 0 0 0 0 0
640 City of Detroit Precinct 302 90 8 0 0 2 1 1
641 City of Detroit Precinct 303 100 17 0 0 0 0 0
642 City of Detroit Precinct 304 82 7 1 2 3 0 0
643 City of Detroit Precinct 305 157 3 1 1 1 0 0
644 City of Detroit Precinct 306 224 30 1 0 3 1 1
645 City of Detroit Precinct 307 117 4 0 0 2 0 0
646 City of Detroit Precinct 308 116 6 1 0 0 0 0
647 City of Detroit Precinct 309 112 6 0 0 1 2 0
648 City of Detroit Precinct 310 111 8 1 1 1 0 0
649 City of Detroit Precinct 311 225 10 1 4 2 0 0
650 City of Detroit Precinct 312 213 6 1 4 2 1 1
651 City of Detroit Precinct 313 95 3 1 0 0 0 0
652 City of Detroit Precinct 314 117 3 0 1 1 0 0
653 City of Detroit Precinct 315 219 5 0 1 2 2 2
654 City of Detroit Precinct 316 172 6 1 1 1 1 0
655 City of Detroit Precinct 317 129 5 1 2 2 0 1
656 City of Detroit Precinct 318 105 2 0 1 0 0 0
657 City of Detroit Precinct 319 130 5 0 1 0 1 0
658 City of Detroit Precinct 320 115 8 0 0 1 1 1
659 City of Detroit Precinct 321 162 7 1 5 1 3 1
660 City of Detroit Precinct 322 53 4 0 0 0 0 0
661 City of Detroit Precinct 323 149 2 1 0 2 0 1
662 City of Detroit Precinct 324 128 8 0 1 2 0 0
663 City of Detroit Precinct 325 141 7 2 0 1 0 0
664 City of Detroit Precinct 326 80 2 0 0 2 0 0
665 City of Detroit Precinct 327 153 3 1 1 1 0 0
666 City of Detroit Precinct 328 147 6 0 0 0 0 0
667 City of Detroit Precinct 329 131 6 1 1 1 0 0
668 City of Detroit Precinct 330 300 13 1 2 4 1 1
669 City of Detroit Precinct 331 149 11 1 0 0 0 1
670 City of Detroit Precinct 332 123 6 2 0 0 0 0
671 City of Detroit Precinct 333 131 5 2 0 0 0 1
672 City of Detroit Precinct 334 124 3 1 3 1 1 0
673 City of Detroit Precinct 335 186 11 0 0 5 1 1
674 City of Detroit Precinct 336 177 23 0 0 2 3 0
675 City of Detroit Precinct 337 151 17 2 3 3 0 0
676 City of Detroit Precinct 338 191 44 2 0 1 1 2
677 City of Detroit Precinct 339 144 13 0 0 1 0 0
678 City of Detroit Precinct 340 114 10 1 0 5 2 0
679 City of Detroit Precinct 341 241 7 0 2 4 3 0
680 City of Detroit Precinct 342 199 29 3 2 2 2 0
681 City of Detroit Precinct 343 253 18 3 3 2 1 0
682 City of Detroit Precinct 344 227 9 0 2 1 0 0
City of Detroit
14/747
Precinct Democrat Party Republican Party Libertarian Party
U.S. Taxpayers
Party
Working Class
Party
Green Party Natural Law Party
683 City of Detroit Precinct 345 225 7 0 2 3 0 0
684 City of Detroit Precinct 346 141 3 0 2 0 0 0
685 City of Detroit Precinct 347 201 7 1 2 0 0 0
686 City of Detroit Precinct 348 126 7 0 2 0 0 0
687 City of Detroit Precinct 349 95 5 3 1 1 0 0
688 City of Detroit Precinct 350 46 3 0 1 3 0 0
689 City of Detroit Precinct 351 106 4 2 0 0 1 1
690 City of Detroit Precinct 352 230 14 1 2 5 1 1
691 City of Detroit Precinct 353 50 3 0 0 0 1 1
692 City of Detroit Precinct 354 158 2 1 0 1 1 1
693 City of Detroit Precinct 355 277 28 4 3 2 3 1
694 City of Detroit Precinct 356 186 5 0 0 2 1 1
695 City of Detroit Precinct 357 93 5 1 0 1 1 0
696 City of Detroit Precinct 358 119 2 0 0 3 2 0
697 City of Detroit Precinct 359 168 4 1 1 0 0 1
698 City of Detroit Precinct 360 158 7 3 0 1 0 0
699 City of Detroit Precinct 361 170 6 1 1 4 0 1
700 City of Detroit Precinct 362 91 5 0 0 0 1 1
701 City of Detroit Precinct 363 205 6 1 4 1 1 1
702 City of Detroit Precinct 364 75 3 0 1 3 0 0
703 City of Detroit Precinct 365 109 4 0 1 1 0 0
704 City of Detroit Precinct 366 112 2 1 0 1 0 0
705 City of Detroit Precinct 367 136 4 1 1 1 0 0
706 City of Detroit Precinct 368 156 4 1 3 1 2 0
707 City of Detroit Precinct 369 222 8 1 3 1 1 0
708 City of Detroit Precinct 370 133 4 1 1 0 0 0
709 City of Detroit Precinct 371 145 6 0 0 2 1 0
710 City of Detroit Precinct 372 80 2 1 0 1 0 1
711 City of Detroit Precinct 373 132 6 1 1 2 0 1
712 City of Detroit Precinct 374 163 5 2 1 8 1 0
713 City of Detroit Precinct 375 191 18 0 0 2 0 1
714 City of Detroit Precinct 376 153 26 0 2 1 0 0
715 City of Detroit Precinct 377 154 28 2 4 2 0 3
716 City of Detroit Precinct 378 160 2 0 2 1 0 0
717 City of Detroit Precinct 379 232 12 1 1 4 0 0
718 City of Detroit Precinct 380 137 5 0 0 1 4 2
719 City of Detroit Precinct 381 127 10 1 3 3 0 0
720 City of Detroit Precinct 382 88 5 1 2 1 0 1
721 City of Detroit Precinct 383 148 4 3 1 1 0 0
722 City of Detroit Precinct 384 199 15 1 2 3 1 1
723 City of Detroit Precinct 385 98 6 0 1 1 0 0
724 City of Detroit Precinct 386 185 8 0 2 3 0 0
725 City of Detroit Precinct 387 126 4 1 0 1 0 0
726 City of Detroit Precinct 388 73 4 0 0 2 0 1
727 City of Detroit Precinct 389 177 8 4 0 1 0 0
728 City of Detroit Precinct 390 68 2 0 2 2 0 0
729 City of Detroit Precinct 391 61 4 0 0 1 0 0
730 City of Detroit Precinct 392 137 3 0 1 1 1 1
731 City of Detroit Precinct 393 140 3 1 1 0 0 1
732 City of Detroit Precinct 394 143 8 2 1 2 1 1
733 City of Detroit Precinct 395 128 7 2 1 3 0 0
734 City of Detroit Precinct 396 94 3 0 0 0 0 1
735 City of Detroit Precinct 397 123 6 2 1 2 2 0
City of Detroit
15/747
Precinct Democrat Party Republican Party Libertarian Party
U.S. Taxpayers
Party
Working Class
Party
Green Party Natural Law Party
736 City of Detroit Precinct 398 156 6 1 1 2 1 0
737 City of Detroit Precinct 399 143 6 1 2 1 0 0
738 City of Detroit Precinct 400 130 7 2 2 1 2 0
739 City of Detroit Precinct 401 124 2 0 0 2 1 0
740 City of Detroit Precinct 402 113 3 1 1 1 0 0
741 City of Detroit Precinct 403 146 11 0 0 3 1 0
742 City of Detroit Precinct 404 108 3 0 2 1 0 0
743 City of Detroit Precinct 405 150 2 1 1 0 1 0
744 City of Detroit Precinct 406 97 5 2 1 2 0 0
745 City of Detroit Precinct 407 96 4 0 0 0 0 0
746 City of Detroit Precinct 408 175 6 1 2 2 2 1
747 City of Detroit Precinct 409 131 10 2 1 1 0 0
748 City of Detroit Precinct 410 169 6 1 0 2 0 0
749 City of Detroit Precinct 411 94 4 1 1 1 0 0
750 City of Detroit Precinct 412 80 1 0 0 0 0 0
751 City of Detroit Precinct 413 230 9 0 0 0 0 0
752 City of Detroit Precinct 414 98 3 0 1 0 0 0
753 City of Detroit Precinct 415 167 3 2 2 2 0 0
754 City of Detroit Precinct 416 102 5 1 1 0 0 0
755 City of Detroit Precinct 417 94 2 0 1 3 1 0
756 City of Detroit Precinct 418 175 3 0 2 0 1 2
757 City of Detroit Precinct 419 100 1 0 0 1 0 0
758 City of Detroit Precinct 420 106 6 0 1 1 0 0
759 City of Detroit Precinct 421 96 3 0 3 0 1 0
760 City of Detroit Precinct 422 169 9 0 0 2 0 1
761 City of Detroit Precinct 423 143 19 1 1 2 0 0
762 City of Detroit Precinct 424 193 56 2 1 1 2 2
763 City of Detroit Precinct 425 245 65 1 1 5 2 2
764 City of Detroit Precinct 426 78 2 0 2 2 0 2
765 City of Detroit Precinct 427 143 9 3 0 1 0 0
766 City of Detroit Precinct 428 199 9 1 2 3 2 0
767 City of Detroit Precinct 429 121 6 0 0 0 2 1
768 City of Detroit Precinct 430 65 3 0 1 0 0 0
769 City of Detroit Precinct 431 122 7 0 1 1 0 0
770 City of Detroit Precinct 432 132 8 1 2 1 1 0
771 City of Detroit Precinct 433 90 5 1 3 1 0 0
772 City of Detroit Precinct 434 93 4 0 0 1 3 0
773 City of Detroit Precinct 435 57 2 0 0 0 0 0
774 City of Detroit Precinct 436 100 2 1 0 1 2 1
775 City of Detroit Precinct 437 123 6 0 0 3 1 1
776 City of Detroit Precinct 438 84 2 0 0 0 0 0
777 City of Detroit Precinct 439 96 4 2 0 1 1 0
778 City of Detroit Precinct 440 32 2 0 0 0 0 0
779 City of Detroit Precinct 441 4 2 0 0 0 0 0
780 City of Detroit Precinct 442 73 0 0 0 0 0 0
781 City of Detroit Precinct 443 12 0 0 0 0 0 0
782 City of Detroit Precinct 444 88 0 1 2 1 0 1
783 City of Detroit Precinct 445 68 1 1 0 4 1 0
784 City of Detroit Precinct 446 99 1 0 1 0 1 0
785 City of Detroit Precinct 447 168 8 0 0 4 0 0
786 City of Detroit Precinct 448 90 4 1 0 1 0 0
787 City of Detroit Precinct 449 148 5 0 0 2 1 0
788 City of Detroit Precinct 450 8 0 0 0 0 0 0
City of Detroit
16/747
Precinct Democrat Party Republican Party Libertarian Party
U.S. Taxpayers
Party
Working Class
Party
Green Party Natural Law Party
789 City of Detroit Precinct 451 70 2 0 0 2 0 0
790 City of Detroit Precinct 452 87 9 0 1 1 0 1
791 City of Detroit Precinct 453 79 2 0 1 0 0 0
792 City of Detroit Precinct 454 0 0 0 0 0 0 0
793 City of Detroit Precinct 455 69 1 0 0 0 0 0
794 City of Detroit Precinct 456 36 1 0 1 0 0 0
795 City of Detroit Precinct 457 82 1 0 1 2 0 0
796 City of Detroit Precinct 458 5 0 0 0 0 0 0
797 City of Detroit Precinct 459 0 0 0 0 0 0 0
798 City of Detroit Precinct 460 155 21 2 1 0 2 1
799 City of Detroit Precinct 461 109 20 2 0 1 0 0
800 City of Detroit Precinct 462 93 6 0 1 1 0 0
801 City of Detroit Precinct 463 50 18 0 0 3 0 0
802 City of Detroit Precinct 464 107 18 2 0 0 1 0
803 City of Detroit Precinct 465 30 3 1 0 0 0 0
804 City of Detroit Precinct 466 238 15 0 0 6 1 0
805 City of Detroit Precinct 467 89 2 0 1 1 1 0
806 City of Detroit Precinct 468 103 4 0 2 1 0 1
807 City of Detroit Precinct 469 75 1 0 0 0 0 2
808 City of Detroit Precinct 470 144 44 0 1 0 0 0
809 City of Detroit Precinct 471 7 5 0 0 0 0 0
810 City of Detroit Precinct 472 125 38 1 0 0 1 0
811 City of Detroit Precinct 473 135 45 2 2 0 1 0
812 City of Detroit Precinct 474 66 20 0 1 1 0 0
813 City of Detroit Precinct 475 119 35 4 2 3 0 1
814 City of Detroit Precinct 476 141 26 2 2 1 1 1
815 City of Detroit Precinct 477 197 60 2 2 4 3 4
816 City of Detroit Precinct 478 35 15 1 1 1 0 0
817 City of Detroit Precinct 479 80 20 1 0 3 0 1
818 City of Detroit Precinct 480 155 56 2 0 3 1 2
819 City of Detroit Precinct 481 211 59 2 3 2 1 2
820 City of Detroit Precinct 482 146 12 2 0 2 1 1
821 City of Detroit Precinct 483 172 4 2 0 1 1 0
822 City of Detroit Precinct 484 140 8 1 3 2 0 1
823 City of Detroit Precinct 485 181 2 1 0 2 1 0
824 City of Detroit Precinct 486 45 2 0 0 2 0 0
825 City of Detroit Precinct 487 58 17 0 0 0 0 1
826 City of Detroit Precinct 488 110 49 1 0 0 2 0
827 City of Detroit Precinct 489 55 29 1 2 2 1 2
828 City of Detroit Precinct 490 20 2 0 0 0 0 0
829 City of Detroit Precinct 491 156 8 1 0 4 0 2
830 City of Detroit Precinct 492 111 4 0 0 0 1 0
831 City of Detroit Precinct 493 88 1 0 1 0 1 0
832 City of Detroit Precinct 494 40 2 0 0 0 0 0
833 City of Detroit Precinct 495 66 1 0 0 0 0 2
834 City of Detroit Precinct 496 70 7 1 0 0 0 0
835 City of Detroit Precinct 497 131 1 0 0 4 1 0
836 City of Detroit Precinct 498 102 5 2 0 3 0 0
837 City of Detroit Precinct 499 83 13 0 0 0 0 1
838 City of Detroit Precinct 500 61 11 2 1 0 1 0
839 City of Detroit Precinct 501 115 6 3 1 0 0 0
840 City of Detroit Precinct 502 130 7 1 0 0 0 1
841 City of Detroit Precinct 503 20
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment