Skip to content

Instantly share code, notes, and snippets.

@farmisen
Created January 23, 2020 22:42
Show Gist options
  • Save farmisen/deb2f8c1e6fd0b9f81346a5825aa080b to your computer and use it in GitHub Desktop.
Save farmisen/deb2f8c1e6fd0b9f81346a5825aa080b to your computer and use it in GitHub Desktop.
yada yada
[
{
"test": true,
"raceID": "17275",
"raceType": "Caucus",
"raceTypeID": "E",
"officeID": "P",
"officeNa.to_a rescueme": "President",
"party": "Dem",
"eevp": 1.0,
"national": true,
"reportingUnits": [
{
"statePostal": "IA",
"stateName": "Iowa",
"level": "state",
"lastUpdated": "2020-01-23T20:59:41.717Z",
"precinctsReporting": 1778,
"precinctsTotal": 1778,
"precinctsReportingPct": 100.0,
"candidates": [
{
"first": "Bernie",
"last": "Sanders",
"party": "Dem",
"candidateID": "23140",
"polID": "1445",
"ballotOrder": 6,
"polNum": "18856",
"voteCount": 528,
"voteCountPercentage": "24.5"
},
{
"first": "Pete",
"last": "Buttigieg",
"abbrv": "Buttigig",
"party": "Dem",
"candidateID": "23134",
"polID": "67933",
"ballotOrder": 3,
"polNum": "19212",
"voteCount": 472,
"voteCountPercentage": "21.9"
},
{
"first": "Joe",
"last": "Biden",
"party": "Dem",
"candidateID": "23132",
"polID": "1036",
"ballotOrder": 1,
"polNum": "19210",
"voteCount": 428,
"voteCountPercentage": "19.9"
},
{
"first": "Elizabeth",
"last": "Warren",
"party": "Dem",
"candidateID": "23142",
"polID": "62244",
"ballotOrder": 8,
"polNum": "19218",
"voteCount": 247
},
{
"first": "Michael",
"last": "Bloomberg",
"abbrv": "Bloombrg",
"party": "Dem",
"candidateID": "23203",
"polID": "32324",
"ballotOrder": 2,
"polNum": "19239",
"voteCount": 177
},
{
"first": "John",
"last": "Delaney",
"party": "Dem",
"candidateID": "23207",
"polID": "61562",
"ballotOrder": 12,
"polNum": "19223",
"voteCount": 59
},
{
"first": "Michael",
"last": "Bennet",
"party": "Dem",
"candidateID": "23209",
"polID": "59911",
"ballotOrder": 11,
"polNum": "19220",
"voteCount": 56
},
{
"first": "Andrew",
"last": "Yang",
"party": "Dem",
"candidateID": "23143",
"polID": "67936",
"ballotOrder": 9,
"polNum": "19219",
"voteCount": 52
},
{
"last": "Other",
"party": "Dem",
"candidateID": "23161",
"polID": "100007",
"ballotOrder": 14,
"polNum": "17474",
"voteCount": 35
},
{
"first": "Amy",
"last": "Klobuchar",
"abbrv": "Klobuchr",
"party": "Dem",
"candidateID": "23139",
"polID": "51526",
"ballotOrder": 5,
"polNum": "19216",
"voteCount": 23
},
{
"first": "Tulsi",
"last": "Gabbard",
"party": "Dem",
"candidateID": "23136",
"polID": "62589",
"ballotOrder": 4,
"polNum": "19214",
"voteCount": 22
},
{
"first": "Deval",
"last": "Patrick",
"party": "Dem",
"candidateID": "23195",
"polID": "51516",
"ballotOrder": 13,
"polNum": "19240",
"voteCount": 19
},
{
"last": "Uncommitted",
"abbrv": "Uncmmt",
"party": "Dem",
"candidateID": "23214",
"polID": "100004",
"ballotOrder": 10,
"polNum": "16613",
"voteCount": 17
},
{
"first": "Tom",
"last": "Steyer",
"party": "Dem",
"candidateID": "23141",
"polID": "67935",
"ballotOrder": 7,
"polNum": "19217",
"voteCount": 16
}
]
}
]
},
{
"test": true,
"raceID": "17276",
"raceType": "Caucus",
"raceTypeID": "S",
"officeID": "P",
"officeName": "President",
"party": "GOP",
"eevp": 95.0,
"national": true,
"reportingUnits": [
{
"statePostal": "IA",
"stateName": "Iowa",
"level": "state",
"lastUpdated": "2020-01-23T20:59:41.717Z",
"precinctsReporting": 1778,
"precinctsTotal": 1778,
"precinctsReportingPct": 100.0,
"candidates": [
{
"first": "Joe",
"last": "Walsh",
"party": "GOP",
"candidateID": "23165",
"polID": "18446",
"ballotOrder": 2,
"polNum": "19237",
"voteCount": 76103,
"voteCountPercentage": "35.3"
},
{
"first": "Bill",
"last": "Weld",
"party": "GOP",
"candidateID": "23167",
"polID": "67972",
"ballotOrder": 3,
"polNum": "19238",
"voteCount": 68903,
"voteCountPercentage": "32.0"
},
{
"first": "Donald",
"last": "Trump",
"party": "GOP",
"incumbent": true,
"candidateID": "23163",
"polID": "8639",
"ballotOrder": 1,
"polNum": "18873",
"voteCount": 56566,
"voteCountPercentage": "26.3"
},
{
"last": "Other",
"party": "GOP",
"candidateID": "23166",
"polID": "100007",
"ballotOrder": 4,
"polNum": "17474",
"voteCount": 13751
}
]
}
]
},
{
"test": true,
"raceID": "17277",
"raceType": "First Alignment Caucus",
"raceTypeID": "D",
"officeID": "P",
"officeName": "President",
"description": "First Caucus Alignment",
"party": "Dem",
"seatName": "First Alignment",
"eevp": 99.0,
"national": true,
"reportingUnits": [
{
"statePostal": "IA",
"stateName": "Iowa",
"level": "state",
"lastUpdated": "2020-01-23T20:59:41.717Z",
"precinctsReporting": 1778,
"precinctsTotal": 1778,
"precinctsReportingPct": 100.0,
"candidates": [
{
"first": "Elizabeth",
"last": "Warren",
"party": "Dem",
"candidateID": "23177",
"polID": "62244",
"ballotOrder": 8,
"polNum": "19218",
"voteCount": 49168,
"voteCountPercentage": "20.5"
},
{
"first": "Joe",
"last": "Biden",
"party": "Dem",
"candidateID": "23215",
"polID": "1036",
"ballotOrder": 1,
"polNum": "19210",
"voteCount": 48546,
"voteCountPercentage": "20.2"
},
{
"first": "Bernie",
"last": "Sanders",
"party": "Dem",
"candidateID": "23175",
"polID": "1445",
"ballotOrder": 6,
"polNum": "18856",
"voteCount": 29116,
"voteCountPercentage": "12.1"
},
{
"first": "Pete",
"last": "Buttigieg",
"abbrv": "Buttigig",
"party": "Dem",
"candidateID": "23170",
"polID": "67933",
"ballotOrder": 3,
"polNum": "19212",
"voteCount": 28604
},
{
"first": "Michael",
"last": "Bloomberg",
"abbrv": "Bloombrg",
"party": "Dem",
"candidateID": "23204",
"polID": "32324",
"ballotOrder": 2,
"polNum": "19239",
"voteCount": 26194
},
{
"first": "Andrew",
"last": "Yang",
"party": "Dem",
"candidateID": "23178",
"polID": "67936",
"ballotOrder": 9,
"polNum": "19219",
"voteCount": 21985
},
{
"first": "Tulsi",
"last": "Gabbard",
"party": "Dem",
"candidateID": "23172",
"polID": "62589",
"ballotOrder": 4,
"polNum": "19214",
"voteCount": 21644
},
{
"first": "John",
"last": "Delaney",
"party": "Dem",
"candidateID": "23211",
"polID": "61562",
"ballotOrder": 12,
"polNum": "19223",
"voteCount": 2305
},
{
"last": "Uncommitted",
"abbrv": "Uncmmt",
"party": "Dem",
"candidateID": "23179",
"polID": "100004",
"ballotOrder": 10,
"polNum": "16613",
"voteCount": 2238
},
{
"first": "Amy",
"last": "Klobuchar",
"abbrv": "Klobuchr",
"party": "Dem",
"candidateID": "23174",
"polID": "51526",
"ballotOrder": 5,
"polNum": "19216",
"voteCount": 2129
},
{
"first": "Michael",
"last": "Bennet",
"party": "Dem",
"candidateID": "23210",
"polID": "59911",
"ballotOrder": 11,
"polNum": "19220",
"voteCount": 2013
},
{
"last": "Other",
"party": "Dem",
"candidateID": "23180",
"polID": "100007",
"ballotOrder": 14,
"polNum": "17474",
"voteCount": 2010
},
{
"first": "Deval",
"last": "Patrick",
"party": "Dem",
"candidateID": "23196",
"polID": "51516",
"ballotOrder": 13,
"polNum": "19240",
"voteCount": 1935
},
{
"first": "Tom",
"last": "Steyer",
"party": "Dem",
"candidateID": "23176",
"polID": "67935",
"ballotOrder": 7,
"polNum": "19217",
"voteCount": 1872
}
]
}
]
},
{
"test": true,
"raceID": "17278",
"raceType": "Final Alignment Caucus",
"raceTypeID": "X",
"officeID": "P",
"officeName": "President",
"description": "Final Caucus Alignment",
"party": "Dem",
"seatName": "Final Alignment",
"national": true,
"reportingUnits": [
{
"statePostal": "IA",
"stateName": "Iowa",
"level": "state",
"lastUpdated": "2020-01-23T20:59:41.717Z",
"precinctsReporting": 1778,
"precinctsTotal": 1778,
"precinctsReportingPct": 100.0,
"candidates": [
{
"first": "Elizabeth",
"last": "Warren",
"party": "Dem",
"candidateID": "23190",
"polID": "62244",
"ballotOrder": 8,
"polNum": "19218",
"voteCount": 48309,
"voteCountPercentage": "20.2"
},
{
"first": "Joe",
"last": "Biden",
"party": "Dem",
"candidateID": "23202",
"polID": "1036",
"ballotOrder": 1,
"polNum": "19210",
"voteCount": 46438,
"voteCountPercentage": "19.4"
},
{
"last": "Uncommitted",
"abbrv": "Uncmmt",
"party": "Dem",
"candidateID": "23192",
"polID": "100004",
"ballotOrder": 10,
"polNum": "16613",
"voteCount": 37687,
"voteCountPercentage": "15.7"
},
{
"first": "Andrew",
"last": "Yang",
"party": "Dem",
"candidateID": "23191",
"polID": "67936",
"ballotOrder": 9,
"polNum": "19219",
"voteCount": 35707
},
{
"first": "Pete",
"last": "Buttigieg",
"abbrv": "Buttigig",
"party": "Dem",
"candidateID": "23183",
"polID": "67933",
"ballotOrder": 3,
"polNum": "19212",
"voteCount": 26075
},
{
"first": "Bernie",
"last": "Sanders",
"party": "Dem",
"candidateID": "23188",
"polID": "1445",
"ballotOrder": 6,
"polNum": "18856",
"voteCount": 25772
},
{
"first": "John",
"last": "Delaney",
"party": "Dem",
"candidateID": "23213",
"polID": "61562",
"ballotOrder": 12,
"polNum": "19223",
"voteCount": 4789
},
{
"first": "Amy",
"last": "Klobuchar",
"abbrv": "Klobuchr",
"party": "Dem",
"candidateID": "23187",
"polID": "51526",
"ballotOrder": 5,
"polNum": "19216",
"voteCount": 4720
},
{
"first": "Michael",
"last": "Bloomberg",
"abbrv": "Bloombrg",
"party": "Dem",
"candidateID": "23205",
"polID": "32324",
"ballotOrder": 2,
"polNum": "19239",
"voteCount": 3451
},
{
"first": "Tulsi",
"last": "Gabbard",
"party": "Dem",
"candidateID": "23185",
"polID": "62589",
"ballotOrder": 4,
"polNum": "19214",
"voteCount": 1460
},
{
"first": "Tom",
"last": "Steyer",
"party": "Dem",
"candidateID": "23206",
"polID": "67935",
"ballotOrder": 7,
"polNum": "19217",
"voteCount": 1460
},
{
"first": "Deval",
"last": "Patrick",
"party": "Dem",
"candidateID": "23199",
"polID": "51516",
"ballotOrder": 13,
"polNum": "19240",
"voteCount": 1349
},
{
"first": "Michael",
"last": "Bennet",
"party": "Dem",
"candidateID": "23212",
"polID": "59911",
"ballotOrder": 11,
"polNum": "19220",
"voteCount": 1316
},
{
"last": "Other",
"party": "Dem",
"candidateID": "23193",
"polID": "100007",
"ballotOrder": 14,
"polNum": "17474",
"voteCount": 1201
}
]
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment