Social Explorer application is not quite ready for this screen size.
Please head to your nearest desktop or tablet device.
Visit Homepage
What's new?
close
Data Dictionary
Skip to Sidebar navigation menu
Skip to Page content
Professional plan provided by Massachusetts Institute of Technology
Create Account
Login
Data Dictionary:
U.S. Senatorial Elections 2010
you are here:
choose a survey
survey
data set
table
variable details
Survey:
U.S. Senatorial Elections 2010
Data Source:
Data set:
Social Explorer Tables (SE)
Table:
T7. Election Competitiveness [2]
Universe:
Variable Details
T7.
Election Competitiveness
Universe:
T007_001
Total votes cast:
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;
Variables used in the formula:
SE:T006_001
Democratic margin
SE:T006_002
Republican margin