|
Race Type ID Updates
For every race in the Elections response, the Elections API returns
a race type and race type ID (raceType and raceTypeID in JSON; Type
and TypeID in XML).
The following one-letter
race type IDs remain unchanged:
Race Type ID |
Party Code |
Race Type |
G |
|
General |
D |
Dem |
Primary |
E |
Dem |
Caucus |
R |
GOP |
Primary |
S |
GOP |
Caucus |
- The following race type IDs are no longer used:
DEPRECATED |
USE THIS INSTEAD... |
Race Type ID |
Description |
Race Type ID |
Party Code |
Race Type |
X |
Open Primary or special use cases |
APP |
|
All-Party
Primary |
SAP |
|
All-Party
Special Primary |
C |
Conservative Primary |
CON |
Con |
Primary |
F |
Working Families Primary |
WF |
WF |
Primary |
Important |
|
The Race Type ID of "C" is now used for "Other Primary"
instead. |
|
|
|
The race type value of "Ballot Issue"
(raceType in JSON; Type
in XML) has been replaced with the race type value matching the returned
race type ID (raceTypeID in JSON; TypeID
in XML). Since the returned race type ID for ballot measures is typically
"G" or "W",
the matching race type of "General" or "Special General"
respectively is now returned instead of "Ballot Issue".
For more information, see Ballot
Measure Updates.
For a full list of Race Type ID values,
see Race
Type IDs.
|
|