Data about the results was collected from CNN's 2016 election center. Each county has the breakdown of how many votes each candidate recieved in that county and what percentage of the total vote from that county that the candidate recieved. The candidate's political party is also represented.



Download all of the following files.


This library has 1 function you can use.
(require "election.rkt")
(get-results false)
Additionally, some of the functions can optionally return Big Data using an extra argument. If you use this Big Data, it may be much slower. Wait until you are sure your code is correct before using these examples.
(require "election.rkt")
; These may be slow!
(get-results true)



Returns the result of each primary for every county from the dataset.