Routing for UAS662

section_max := 4
section_cnt := 1
mainintro
This survey asks about people that you know and how they might vote in the upcoming presidential election. This information is not going to be used to try to forecast the election, it is helping us learn more about how people vote.
if sizeof(block_order) = 0 then
block_order := shuffleArray(array(1 => 1, 2 => 2, 3 => 3))
End of if
if sizeof(candidate_order) = 0 then
candidate_order := shuffleArray(array(1 => 1, 2 => 2))
candidate_order[3] := 3
End of if
Loop from 1 to 3
section_cnt := cnt
if block_order[cnt] = 1 then
a001 (number of social contacts)
We are going to ask questions about your social contacts. What do we mean by "social contacts"?

These are your friends, family, coworkers, and other people you know who:
  • Live in your state
  • Are 18 or older
  • You communicated with them in the past month, either in person, or in some other way
About how many people would you consider to be part of your social contacts in your state, using this definition?
RANGE 0..20000
if a001 > 0 then
a002 (percentage social contacts voting in election)
What percentage of your social contacts that live in your state are likely to vote in the upcoming presidential election?

For instance, 0% means that you think none of your social contacts will vote, 50% means that half of your social contacts will vote, and 100% means that all of your social contacts will vote. If you are not sure, just try to give your best guess.
RANGE 0..100
if a002 > 0 then
Group of questions presented on the same screen
a003_intro
For the next question, please consider only your social contacts that live in your state and are likely to vote in the upcoming election. Give your best guess about what percentage of them will vote for different candidates.

For instance, 0% would mean that you think no voters in your social circle will vote for a specific candidate, 50% means that half of your social contacts will vote for that candidate, and 100% means that all voters in your social circle will vote for that candidate. If you are not sure, just try to give your best guess.

Out of all your social contacts who live in your state and are likely to vote, what percentage do you think will vote for:

Subgroup of questions
if candidate_order[1] = 1 then
a003a (percentage number of social contacts voting Harris)
Kamala Harris
STRING
a003b (percentage number of social contacts voting Trump)
Donald Trump
STRING
Else
a003b (percentage number of social contacts voting Trump)
Donald Trump
STRING
a003a (percentage number of social contacts voting Harris)
Kamala Harris
STRING
End of if
a003c (percentage number of social contacts voting Other candidate )
Other candidate
STRING
a003_total (number of social contacts voting total)
Total
STRING
End of subgroup of questions
total_script_allow_empty
End of group of questions
End of if
End of if
elseif block_order[cnt] = 2 then
earlyvote (already voted)
Have you already voted in the U.S. presidential election by mail or absentee or some other type of early voting?
1 Yes
2 No
3 Not sure
if earlyvote = 1 then
if sizeof(vote_pres_order) = 0 then
if candidate_order[1] = 1 then
vote_pres_order := array(1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5)
Else
vote_pres_order := array(1 => 2, 2 => 1, 3 => 3, 4 => 4, 5 => 5)
End of if
End of if
vote_pres (Vote for U.S. President, 2024)
In the election for U.S. President did you vote for:
1 Kamala Harris (Democrat)
2 Donald Trump (Republican)
3 Chase Oliver (Libertarian)
4 Jill Stein (Green Party)
5 Some other candidate
Else
Group of questions presented on the same screen
b_intro
The next two questions ask you to think about the percent chance that something will happen in the future. The percent chance can be thought of as the number of chances out of 100. You can use any number between 0 and 100.

For example, 0 percent would mean 'absolutely no chance', 50 percent would be 'even chance', and 100 percent would be 'absolutely certain'.

If you are not sure, just try to give your best guess.
b001 (chance vote in presidential election)
What is the percent chance that you will vote in the upcoming presidential election?
RANGE 0..100
End of group of questions
Group of questions presented on the same screen
b002_intro
If you do vote in the election, what is the percent chance that you will vote for:

Subgroup of questions
if candidate_order[1] = 1 then
b002a (chance voting Harris)
Kamala Harris
STRING
b002b (chance voting Trump)
Donald Trump
STRING
Else
b002b (chance voting Trump)
Donald Trump
STRING
b002a (chance voting Harris)
Kamala Harris
STRING
End of if
b002c (chance voting Other candidate )
Other candidate
STRING
b002_total (chance voting total)
Total
STRING
End of subgroup of questions
total_script_allow_empty
End of group of questions
End of if
elseif block_order[cnt] = 3 then
Group of questions presented on the same screen
c001_intro
Now think of all of the people who live in your state, whether you know them or not, who are likely to vote in the upcoming presidential election. Try to give your best guess about what percentage of them will vote for the different candidates.

For instance, 0% would mean that you think no voters in your state will vote for a certain candidate, 50% means that half of voters in your state will vote for that candidate, and 100% means that all voters in your state will vote for that candidate.

If you are not sure, just try to give your best guess.

What percentage of people in your state and are likely to vote in the upcoming presidential election will vote for:

Subgroup of questions
if candidate_order[1] = 1 then
c001a (percentage R state voting Harris)
Kamala Harris
STRING
c001b (percentage R state voting Trump)
Donald Trump
STRING
Else
c001b (percentage R state voting Trump)
Donald Trump
STRING
c001a (percentage R state voting Harris)
Kamala Harris
STRING
End of if
c001c (percentage R state voting Other candidate )
Other candidate
STRING
c001_total (percentage country voting total)
Total
STRING
End of subgroup of questions
total_script_allow_empty
End of group of questions
End of if
End of loop
section_cnt := 4
CS_001 (HOW PLEASANT INTERVIEW)
Could you tell us how interesting or uninteresting you found the questions in this survey?
1 Very interesting
2 Interesting
3 Neither interesting nor uninteresting
4 Uninteresting
5 Very uninteresting
CS_003 (comments)
Do you have any other comments on the survey? Please type these in the box below. (If you have no comments, please click next to complete this survey.)
STRING