CivicAPI Documentation: Difference between revisions

Jump to navigation Jump to search
No edit summary
***<code>incumbent</code> - Specifies if the candidate was an incumbent
***<code>is_major</code> - Specifies if the candidate is a major candidate. By our definition, any candidate that received more than 7% of the vote is considered a "major" candidate.
***<code>dropped_out</code> - Specifies if the candidate dropped out of the election.
***<code>write_in_candidate</code> - Specifies if this is a write-in candidate.
***<code>winner</code> - Specifies if this candidate won the election.
***<code>percent</code> - The percentage of votes the candidate received.
***<code>electoral_votes</code> - The electoral votes the candidate received. Only valid for US presidential elections and certain US governor elections.
***<code>states_carried</code> - The number of states the candidate has carried.
***<code>seats_won</code> - The number of seats the candidate has won.
***<code>delegates</code> - The number of delegates the candidate has been awarded.

Navigation menu