Routing for UAS411

mainintro (intro)
This survey has several unrelated sections. Some of these sections may apply to you and some may not. The survey asks about tax credits, your experiences this year, use of tobacco and other products, and family background. Here is the first set of questions.
preload_uas335_endtime := getUAS335Preload("endtime")
if preload_uas335_endtime = response then
preload_fi001 := getUAS335Preload("fi001")
preload_fi003 := getUAS335Preload("fi003")
preload_fi004 := getUAS335Preload("fi004")
FLTimeReferenceUAS335 := date("F j Y", strtotime(preload_uas335_endtime))
Else
preload_uas250_endtime := getUAS250Preload("endtime")
if preload_uas250_endtime = response then
preload_fi001 := getUAS250Preload("fi001")
preload_fi003 := getUAS250Preload("fi003")
preload_fi004 := getUAS250Preload("fi004")
FLTimeReferenceUAS335 := date("F j Y", strtotime(preload_uas250_endtime))
End of if
End of if
Fill code of question 'FLUAS199Text' executed
fi_intro
The next questions ask about how you think things are going with your own, and the country’s, financial situation.
if fi001 = empty then
fi001 := preload_fi001
End of if
Fill code of question 'FLUAS199Text' executed
fi001 (current financial situation)
We are interested in how people are getting along financially these days. Please use the slider below to indicate how you feel about your current financial situation.[
Note: the starting point on the slider is what you indicated the last time we asked you this question on ^FLTimeReferenceUAS335. ]

I feel that my current financial situation is:
fi002 := fi001
fi002_original := fi001
fi002_nc := empty
Group of questions presented on the same screen
fi002 (future financial situation)
Now we would like to know what you think your financial situation will be a year from now. If you think things won't change, you can leave the dot in the same position and click the box below.

I think that my financial situation a year from now will be:
fi002_nc (no change future financial situation)
1 Click here if you think things won't change
fi_warning
End of group of questions
if fi002 = fi002_original and fi002_nc = empty then
fi_error
You did not change the dot's position on the slider. Please go back and either check the "Click here if you think things won't change" box, if you think your financial situation will not change, or move the dot's position on the slider, if you think your financial situation will change.
End of if
if fi003 = empty then
fi003 := preload_fi003
End of if
if fi004 = empty then
fi004 := preload_fi004
End of if
Group of questions presented on the same screen
fi003_intro
To answer the following questions, please think about business conditions in the U.S and business conditions in your county of residence.

Please use the slider below to rate current business conditions in the US.[
Note: the starting point on the slider is what you indicated the last time we asked you this question on ^FLTimeReferenceUAS335. ]
fi003 (current business conditions in the US)
I think that current business conditions in the US are:
fi004_intro

Please use the slider below to rate current business conditions in your county of residence.[
Note: the starting point on the slider is what you indicated the last time we asked you this question on ^FLTimeReferenceUAS335. ]

fi004 (current business conditions in respondent county)
I think that current business conditions in my county are:
End of group of questions
fi005 := fi003
fi005_original := fi003
fi005_nc := empty
fi006 := fi004
fi006_original := fi004
fi006_nc := empty
Group of questions presented on the same screen
fi005 (future business conditions in the US)
Now use the slider below to indicate what you think business conditions in the US will be a year from now. If you think things won't change, you can leave the dot in the same position and click the box below.

I think that business conditions in the US a year from now will be:
fi005_nc (no change future U.S. conditions)
1 Click here if you think things won't change
fi006 (future business conditions in respondent county)

Now use the slider below to indicate what you think business conditions in your county of residence will be a year from now. If you think things won’t change, you can leave the dot in the same position and click the box below.
fi006_nc (no change future county conditions)
1 Click here if you think things won't change
fi2_warning
End of group of questions
if fi005 = fi005_original and fi005_nc = empty then
fi_error2
You did not change the dot's position on the slider for the current business conditions in the US. Please go back and either check the "Click here if you think things won't change" box, if you think current business conditions in the US will not change, or move the dot's position on the slider, if you think current business conditions in the US will change.
elseif fi006 = fi006_original and fi006_nc = empty then
fi_error3
You did not change the dot's position on the slider for the business conditions in your county of residence. Please go back and either check the "Click here if you think things won't change" box, if you think business conditions in your county of residence will not change, or move the dot's position on the slider, if you think business conditions in your county of residence will change.
End of if
credit_start_time := date("Y-m-d H:i:s")
ctc001 (filed income taxes)
Have you filed your income taxes this year, or had them filed for you by a tax preparer?
1 Yes
2 No
3 I don't know
uas389_endtime := getUASPreload("uas389", "endtime")
uas393_endtime := getUASPreload("uas393", "endtime")
table := empty
if uas389_endtime = response and uas393_endtime = response then
if strtotime(uas389_endtime) > strtotime(uas393_endtime) then
table := "uas389"
FLUAS := getUASDate(uas389_endtime)
Else
table := "uas393"
FLUAS := getUASDate(uas393_endtime)
End of if
elseif uas389_endtime = response then
table := "uas389"
FLUAS := getUASDate(uas389_endtime)
elseif uas393_endtime = response then
table := "uas393"
FLUAS := getUASDate(uas393_endtime)
Else
table := empty
End of if
if table = response then
preload_hh1 := getUASPreload(table, "hh1")
preload_hh3 := getUASPreload(table, "hh3")
preload_kids1 := getUASPreload(table, "kids1")
if preload_hh1 = response and preload_hh3 = response and preload_kids1 = response then
preload_confirm (confirm preloaded hh composition)
In a previous survey (on [[]]) you told us the following about your household:
  • Number of people (adults and children), including yourself, living in your household: [preloaded how many people, including R, in household[]]
  • Number of adults (age 18 and older), including yourself, living in your household: [preloaded how many 18 and older, including R, in household[]]
  • Parent or guardian of any children under age 18: [ preloaded parent or guardian of any children under age 18[]]
Is that still correct?
1 (YES) Yes
2 (NO) No
End of if
End of if
if table = response and preload_confirm = 1 then
HH1 := preload_hh1
Else
hh1 (how many people, including R, in household)
How many people, including yourself, live in your household?
RANGE 1..8
End of if
if HH1 > 1 then
if table = response and preload_confirm = 1 then
HH3 := preload_hh3
Else
hh3 (how many 18 and older, including R, in household)
How many, including yourself, are adults, age 18 and older?
RANGE 1..8
End of if
Else
HH3 := 1
End of if
if table = response and preload_confirm = 1 then
kids1 := preload_kids1
Else
kids1 (parent or guardian of any children under age 18)
Are you the parent or guardian of any children under age 18?
1 (YES) Yes
2 (NO) No
End of if
if (hh1 - hh3) > 0 OR kids1 = 1 then
ctc002 (received CTC payment)
Around the 15th of July, the federal government began sending a new payment of $300 a month for children under 6 and $250 a month for school age children for eligible families, through a program called the Child Tax Credit (also known as the CTC or CHILDCTC).

Have you or anyone in your household received this new payment? Please choose all that apply.
1 Yes I have received the payment
2 Yes, someone else in my household received the payment
3 No one in my household received the payment
4 Don't know if anyone in my household received the payment
if 1 in ctc002 then
Group of questions presented on the same screen
ctc003 (how much received CTC)
How much did you receive from this program in the most recent month?
1 $250
2 $300
3 $500
4 $550
5 $600
6 $750
7 $800
8 $850
9 $900 or more
10 Other amount (please specify):
11 Don't know
ctc003_other (other how much received CTC)
STRING
End of group of questions
elseif 2 in ctc002 OR ctc002 = 3 then
if kids1 = response and kids1 = 2 then
ctc004 := 6
Else
Group of questions presented on the same screen
ctc004 (why not received payment CTC)
Why have you not received a payment through this program? Please choose all that apply.
1 My children might be eligible, but I did not know about the program
2 My children might be eligible, but I did not know how to access the program
3 I tried to access the program for my children but was not successful
4 I am eligible for the payment for my children but prefer not to receive this benefit
5 My children’s other parent/guardian received the payment
6 I am not the parent or guardian of any children in my household
7 Other (please specify):
8 Don't know
ctc004_other (other why not received payment CTC)
STRING
End of group of questions
End of if
End of if
End of if
credit_end_time := date("Y-m-d H:i:s")
credit_time := (strtotime(credit_end_time) - strtotime(credit_start_time))
discrimination_start_time := date("Y-m-d H:i:s")
ds_intro
Now we have some questions about issues that you may have recently faced.
Group of questions presented on the same screen
ds001_intro
Since January 2021, how often have...

Subgroup of questions
ds001a (You been treated with less respect than other people)
You been treated with less respect than other people?
0 Never
1 Rarely
2 Sometimes
3 Often
ds001b (You been treated unfairly at restaurants or stores)
You been treated unfairly at restaurants or stores?
0 Never
1 Rarely
2 Sometimes
3 Often
ds001c (People acted as if they are afraid of you)
People acted as if they are afraid of you?
0 Never
1 Rarely
2 Sometimes
3 Often
ds001d (You been threatened or harassed)
You been threatened or harassed?
0 Never
1 Rarely
2 Sometimes
3 Often
End of subgroup of questions
End of group of questions
Group of questions presented on the same screen
ds002_intro
Since January 2021, how often have...

Subgroup of questions
ds002a (You felt unease in public areas, or worried how other people might look at you)
You felt unease in public areas, or worried how other people might look at you?
0 Never
1 Rarely
2 Sometimes
3 Often
ds002b (You tried to avoid certain social situations or places due to worries about racial discrimination)
You tried to avoid certain social situations or places due to worries about racial discrimination?
0 Never
1 Rarely
2 Sometimes
3 Often
ds002c (You worried about your and your family’s safety from a hate crime or harassment)
You worried about your and your family’s safety from a hate crime or harassment?
0 Never
1 Rarely
2 Sometimes
3 Often
End of subgroup of questions
End of group of questions
Group of questions presented on the same screen
ds003_intro
Since January 2021, have you experienced any of the following, either in person or online?

Subgroup of questions
ds003a (People excluded you from participating in some activities/events)
People excluded you from participating in some activities/events.
1 (YES) Yes
2 (NO) No
ds003b (People made a racial slur, called you a name or harassed you)
People made a racial slur, called you a name or harassed you.
1 (YES) Yes
2 (NO) No
ds003c (Someone made a verbal threat)
Someone made a verbal threat.
1 (YES) Yes
2 (NO) No
ds003d (Someone physically intimidated or assaulted you)
Someone physically intimidated or assaulted you.
1 (YES) Yes
2 (NO) No
ds003e (Someone vandalized or damaged your home, car, or other property)
Someone vandalized or damaged your home, car, or other property.
1 (YES) Yes
2 (NO) No
ds003f (Someone denied you service or told you to leave a store or facility, etc)
Someone denied you service or told you to leave a store or facility, etc.
1 (YES) Yes
2 (NO) No
ds003g (A bus, taxi, or ride-share refused to pick you up)
A bus, taxi, or ride-share refused to pick you up.
1 (YES) Yes
2 (NO) No
End of subgroup of questions
End of group of questions
if ds003a = 1 OR ds003b = 1 OR ds003c = 1 OR ds003d = 1 OR ds003e = 1 OR ds003f = 1 OR ds003g = 1 then
Group of questions presented on the same screen
ds004 (why discriminated)
What do you think is the main reasons for these experiences? Would you say it is because of...? Please select all that apply.
1 Your ancestry or national origins
2 Your race or skin color
3 You wearing a mask
4 You not wearing a mask
5 Other, please specify:
ds004_other (other why discriminated)
STRING
End of group of questions
Group of questions presented on the same screen
ds005_intro
People react in different ways to these types of experiences. Please select if you did each of the following things.

Subgroup of questions
ds005a (Went to the authorities (e.g. police))
Went to the authorities (e.g. police).
1 (YES) Yes
2 (NO) No
ds005b (Accepted it as a fact of life)
Accepted it as a fact of life.
1 (YES) Yes
2 (NO) No
ds005c (Felt that you brought it on yourself)
Felt that you brought it on yourself.
1 (YES) Yes
2 (NO) No
ds005d (Talked to someone about how you were feeling)
Talked to someone about how you were feeling.
1 (YES) Yes
2 (NO) No
ds005e (Sought advice and guidance to deal with the problem)
Sought advice and guidance to deal with the problem.
1 (YES) Yes
2 (NO) No
ds005f (Tried to keep your feelings to yourself)
Tried to keep your feelings to yourself.
1 (YES) Yes
2 (NO) No
ds005g (Expressed anger to let off steam)
Expressed anger to let off steam.
1 (YES) Yes
2 (NO) No
ds005h (Tried to forget that it had happened)
Tried to forget that it had happened.
1 (YES) Yes
2 (NO) No
ds005i (Made a verbal protest or tried to reason with the offender)
Made a verbal protest or tried to reason with the offender.
1 (YES) Yes
2 (NO) No
ds005j (Prayed or sought spiritual comfort and support)
Prayed or sought spiritual comfort and support.
1 (YES) Yes
2 (NO) No
ds005k (other action taken)
Other, please specify:
1 (YES) Yes
2 (NO) No
End of subgroup of questions
ds005k_other (specify other action taken)
STRING
End of group of questions
End of if
discrimination_end_time := date("Y-m-d H:i:s")
discrimination_time := (strtotime(discrimination_end_time) - strtotime(discrimination_start_time))
su_intro
The next questions ask about alcohol and use of tobacco and other products.
cr026_questions := array(1 => "cr026a", 2 => "cr026b", 3 => "cr026c", 4 => "cr026l", 5 => "cr026m")
if sizeof(cr026_order) = 0 then
cr026_order := shuffleArray(array(1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5))
End of if
Group of questions presented on the same screen
cr026_intro
Out of the past 7 days, what is your best estimate of the number of days that you did each of the following activities?

Subgroup of questions
Loop from 1 to 5
Value of question 'cr026_questions[cr026_order[cnt]]' asked as question
End of loop
End of subgroup of questions
End of group of questions
if cr026a > 0 then
cr026a2 (how many alcoholic drinks on typical day)
In the past seven days, how many alcoholic drinks did you have on a typical day when you drank alcohol?
RANGE 1..30
if gender = empty then
gender (R GENDER)
What is your gender?
1 Male
2 Female
End of if
if gender = 1 then
cr050m (male 5 or more alcoholic beverages within a couple of hours)
In the past seven days, on how many days did you drink 5 or more alcoholic beverages within a couple of hours?

0 0 days
1 1 day
2 2 days
3 3 days
4 4 days
5 5 days
6 6 days
7 7 days
Else
cr050f (female 4 or more alcoholic beverages within a couple of hours)
In the past seven days, on how many days did you drink 4 or more alcoholic beverages within a couple of hours?

0 0 days
1 1 day
2 2 days
3 3 days
4 4 days
5 5 days
6 6 days
7 7 days
End of if
End of if
Group of questions presented on the same screen
cr027_intro
Over the past fourteen days, how often have you been bothered by any of the following problems?

Subgroup of questions
cr027a (how often Feeling nervous, anxious, or on edge)
Feeling nervous, anxious, or on edge
1 Not at all
2 Several days
3 More than half the days
4 Nearly every day
cr027b (how often Not being able to stop or control worrying)
Not being able to stop or control worrying
1 Not at all
2 Several days
3 More than half the days
4 Nearly every day
cr027c (how often Feeling down, depressed, or hopeless)
Feeling down, depressed, or hopeless
1 Not at all
2 Several days
3 More than half the days
4 Nearly every day
cr027d (how often Little interest or pleasure in doing things)
Little interest or pleasure in doing things
1 Not at all
2 Several days
3 More than half the days
4 Nearly every day
End of subgroup of questions
End of group of questions
father_born := getUASPreload("myhousehold", "father_born")
mother_born := getUASPreload("myhousehold", "mother_born")
grandfather_f_born := getUASPreload("myhousehold", "grandfather_f_born")
grandmother_f_born := getUASPreload("myhousehold", "grandmother_f_born")
grandfather_m_born := getUASPreload("myhousehold", "grandfather_m_born")
grandmother_m_born := getUASPreload("myhousehold", "grandmother_m_born")
chinese_ancestry := 2
if 4 in race then
chinese_ancestry := 1
elseif countryborn in [45,98,129,213] then
chinese_ancestry := 1
elseif father_born in [45,98,129,213] OR mother_born in [45,98,129,213] then
chinese_ancestry := 1
elseif grandfather_f_born in [45,98,129,213] OR grandmother_f_born in [45,98,129,213] then
chinese_ancestry := 1
elseif grandfather_m_born in [45,98,129,213] OR grandmother_m_born in [45,98,129,213] then
chinese_ancestry := 1
End of if
ancestry_start_time := date("Y-m-d H:i:s")
if chinese_ancestry = 1 then
an_intro
Thank you, one final question, about your family background.
Group of questions presented on the same screen
an001 (chinese ancestry)
What do you consider your own family ancestry or ethnic origin to be, whether you were born in the United States, or not?
1 Chinese
2 Taiwanese
3 Fuzhounese or Fujianese
4 Taishanese or Cantonese
5 Hong Konger or Hongkongese
6 Macanese (from Macau)
7 Japanese
8 Korean
9 Filipino
10 Vietnamese
11 Other Southeast Asian (Thai, Cambodian, Laotian, Bruneian, Burmese, Timorese, Indonesian, Malaysian, Singaporean)
12 Indian
13 Other South Asian (Pakistani, Bangladeshi, Bhutanese, Afghan, Nepalese, Sri Lankan, Dhivehin/Maldivian)
14 Other (please specify):
15 Not sure
an001_other (other asian ancestry)
STRING
End of group of questions
End of if
ancestry_end_time := date("Y-m-d H:i:s")
ancestry_time := (strtotime(ancestry_end_time) - strtotime(ancestry_start_time))
CS_001 (HOW PLEASANT INTERVIEW)
Could you tell us how interesting or uninteresting you found the questions in this interview?
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 interview? Please type these in the box below. (If you have no comments, please click next to complete this survey.)
STRING