Data Dictionary: | U.S. Gubernatorial Elections 1991 |
Data Source: |
T7. | Election Competitiveness | |||||||
Universe: | ||||||||
T007_002 Election Competitiveness: Vote % Difference Between Democratic and Republican Candidates
Percent base:
None - percentages not computed
Aggregation method:
None -- No totals are displayed for this variable when multiple geographies are aggregated.
Formula used to compute this variable:
#ReturnType oretval = new #ReturnType();
if (SE:T006_001 >= 20)
{
oretval = 2;
}
else if
(SE:T006_001 >= 10 & SE:T006_001 < 20)
{
oretval = 3;
}
else if
(SE:T006_001 >= 5 & SE:T006_001 < 10)
{
oretval = 4;
}
else if
(SE:T006_001 >= 0 & SE:T006_001 < 5)
{
oretval = 5;
}
else if
(SE:T006_002 >= 20)
{
oretval = 7;
}
else if
(SE:T006_002 >= 10 & SE:T006_002 < 20)
{
oretval = 8;
}
else if
(SE:T006_002 >= 5 & SE:T006_002 < 10)
{
oretval = 9;
}
else if
(SE:T006_002 >= 0 & SE:T006_002 < 5)
{
oretval = 10;
}
else
{
oretval = 0;
}
return oretval;
|