DistrictResult Model

class elections.models.DistrictResult

Each DistrictResult object describes the result for a particular Candidate in a particular RaceDistrict.

test_live

Required CharField(1)

Single character flag indicating test (t) vs. live (l) election results data.

race_district

Required ForeignKey( RaceDistrict )

Foreign key to a RaceDistrict object.

ap_candidate

Required ForeignKey( Candidate )

Foreign key to a Candidate object.

party

CharField(16)

The candidate’s party abbreviation. This may be different than the DistrictResult.race_district.race_type_party field.

incumbent

Required BooleanField default: False

True means the candidate an incumbent.

vote_count

Required IntegerField default: 0

Candidate’s or an initiative’s vote tally.

winner

CharField(1)

X means candidate is the winner or the initiative received a final Yes or No vote, R means candidate advances to the runoff election. An empty value indicates a non-winner

natl_order

IntegerField

Winning order of candidate in national system.

Previous topic

RaceDistrict Model

Next topic

CandidateOffice Model