Each RaceCounty object contains either the information associated with a particular race in a particular county of a state, or the statewide county summary for that race. In New England states, the reporting units are town or city, and statewide town or city summary.
Required CharField(1)
Single character flag indicating test (t) vs. live (l) election results data.
Required BigIntegerField Primary Key
The race_county_id value is for use as a unique identifier for reference from the CountyResult model.
Required IntegerField
AP-assigned race number. Race numbers are guaranteed to be unique only within a state.
Required DateField
Date of the election.
Required CharField(2)
Two character state abbreviation (e.g., IA, LA, ).
IntegerField()
AP-assigned county number. For the statewide total, the “county” number is one (1). County numbers are guaranteed to be unique ONLY within a state.
IntegerField
Federal Information Processing Standard code. This is zero (0), for the statewide summary total.
Required CharField(64)
Name of the state’s county. This is the state’s name for the statewide total.
Required CharField(1)
Single character office type ID. Only Top-of-the-ticket races (President [P], Governor [G], US Senate [S], and US House [H]) are guaranteed to be unique on a national level. All other office types are guaranteed to be unique only within a state. There are other characters used, depending on the state and local races.
Required CharField(1)
National, state or local race type identifier. National identifiers are:
Other characters may be used, depending on the state and local races.
Required IntegerField
Integer indicating district number or an initiative number. This may be zero (0) for a statewide race.
CharField(64)
Name of the office (e.g., U.S. House, Governor, etc.).
CharField(64)
The district or initiative name (e.g., District 46, 1A-Gay Marriage, etc.) This may be empty for a statewide race (e.g., a Governor race).
CharField(16)
Party abbreviation for the race (e.g., Dem, GOP, Lib, etc.). This may be empty for a General Election.
CharField(32)
Description of the type of race (e.g., Primary, Runoff, General).
CharField(64)
Further description of the office type.
Required IntegerField()
The maximum number of winners.
IntegerField
Number of candidates in a runoff race.
Required IntegerField
The number of precincts currently reporting during the election.
Required IntegerField
The total number of precincts.