-
Notifications
You must be signed in to change notification settings - Fork 12
/
demographics.js
1251 lines (1164 loc) · 45 KB
/
demographics.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
define(['questAPI','underscore'], function(Quest,_){
var API = new Quest();
var isTouch = API.getGlobal().isTouch;
/**
* Settings
*/
API.addSettings('logger',{pulse: 3});
/**
* Page prototype
*/
API.addPagesSet('basicPage',{
noSubmit:false, //Change to true if you don't want to show the submit button.
decline: true,
declineText: isTouch ? 'Decline' : 'Decline to Answer',
autoFocus:true,
header: 'Demographics',
numbered: false,
progressBar: isTouch ? 'Page <%= pagesMeta.number %> out of 6' : 'Page <%= pagesMeta.number %> out of 13'
});
/**
* Question prototypes
*/
API.addQuestionsSet('basicQ',{
decline: true,
required : true,
errorMsg: {
required: isTouch
? 'Please select an answer, or click \'Decline\''
: 'Please select an answer, or click \'Decline to Answer\''
},
autoSubmit:true,
numericValues:true
});
API.addQuestionsSet('singleChoice',{
inherit: 'basicQ',
type: 'selectOne',
help: '<%= pagesMeta.number < 10 %>',
helpText: 'Tip: For quick response, click to select your answer, and then click again to submit.'
});
API.addQuestionsSet('text',{
inherit: 'basicQ',
type: 'text',
noSubmit:false
});
API.addQuestionsSet('singleChoicedrop',{
inherit: 'basicQ',
autoSubmit:false,
type: 'dropdown'
});
API.addQuestionsSet('multiChoice',{
inherit: 'basicQ',
type: 'selectMulti'
});
API.addQuestionsSet('boolean',{
inherit: 'basicQ',
type: 'selectOne',
buttons: true,
answers : [
{text:'Yes', value:1},
{text:'No', value:0}
]
});
/**
* Actual questions
*/
API.addQuestionsSet('birthSex',{
inherit: 'singleChoice',
name: 'birthSex',
stem: 'What sex were you assigned at birth, on your original birth certificate?',
answers: [
{text:'Male',value:1},
{text:'Female',value:2}
]
});
API.addQuestionsSet('genderIdentity',{
inherit: 'multiChoice',
name: 'genderIdentity',
stem: 'What is your current gender identity? (check all that apply)',
answers: [
{text:'Male',value:1},
{text:'Female',value:2},
{text:'Trans male/Trans man',value:3},
{text:'Trans female/Trans woman',value:4},
{text:'Genderqueer/Gender nonconforming',value:5},
{text:'A different identity',value:6}
]
});
API.addQuestionsSet('birthMonth',{
inherit: 'singleChoice',
style:'multiButtons',
name: 'birthmonth',
stem: 'What is your birth month?',
answers: [
{text:'January',value:1},
{text:'February',value:2},
{text:'March',value:3},
{text:'April',value:4},
{text:'May',value:5},
{text:'June',value:6},
{text:'July',value:7},
{text:'August',value:8},
{text:'September',value:9},
{text:'October',value:10},
{text:'November',value:11},
{text:'December',value:12}
]
});
API.addQuestionsSet('birthYear',{
inherit: 'singleChoicedrop',
name: 'birthyear',
stem: 'What is your birth year?',
answers: _.range((new Date()).getFullYear()-10, 1910, -1) // use underscore to create an array of years from ten years ago back to 1910
});
API.addQuestionsSet('raceomb',{
inherit: 'singleChoicedrop',
name: 'raceomb002',
stem: 'What is your race?',
autoSubmit: false,
answers: [
{text:'American Indian/Alaska Native',value:1},
{text:'East Asian',value:2},
{text:'South Asian',value:3},
{text:'Native Hawaiian or other Pacific Islander',value:4},
{text:'Black or African American',value:5},
{text:'White',value:6},
{text:'Other or Unknown',value:7},
{text:'Multiracial',value:8}
]
});
API.addQuestionsSet('raceombmulti',{
inherit: 'multiChoice',
name: 'raceombmulti',
stem: 'Please select the categories that comprise your race. (Click a category once to select it. Click it again to deselect. You may select as many categories as you wish. When you are finished, click Submit.)',
answers: [
{text:'American Indian/Alaska Native',value:1},
{text:'East Asian',value:2},
{text:'South Asian',value:3},
{text:'Native Hawaiian or other Pacific Islander',value:4},
{text:'Black or African American',value:5},
{text:'White',value:6},
{text:'Other or Unknown',value:7}
]
});
API.addQuestionsSet('ethnicityomb',{
inherit: isTouch ? 'singleChoice' : 'singleChoicedrop',
name: 'ethnicityomb',
autoSubmit: false,
stem: 'What is your ethnicity?',
answers: [
{text:'Hispanic or Latino',value:1},
{text:'Not Hispanic or Latino',value:2},
{text:'Unknown',value:3}
]
});
API.addQuestionsSet('politicalid',{
inherit: 'singleChoice',
name: 'politicalid7',
stem: 'What is your political identity?',
answers: [
{text:'Strongly Conservative',value:1},
{text:'Moderately Conservative',value:2},
{text:'Slightly Conservative',value:3},
{text:'Neutral',value:4},
{text:'Slightly Liberal',value:5},
{text:'Moderately Liberal',value:6},
{text:'Strongly Liberal',value:7}
]
});
API.addQuestionsSet('num',{
inherit: 'singleChoice',
name: 'num002',
style:'multiButtons',
stem: 'How many Implicit Association Tests (IATs) have you previously performed?',
answers: [
'0',
'1',
'2',
'3-5',
'6+'
]
});
API.addQuestionsSet('religionid',{
inherit: 'singleChoice',
name: 'religionid',
stem: 'How religious do you consider yourself to be?',
answers: [
{text:'Strongly religious', value:'4'},
{text:'Moderately religious', value:'3'},
{text:'Slightly religious', value:'2'},
{text:'Not at all religious', value:'1'}
]
});
API.addQuestionsSet('religion2014',{
inherit: 'singleChoice',
name: 'religion2014',
stem: 'What is your religious affiliation?',
answers: [
{text:'Buddhist/Confucian/Shinto', value:'1'},
{text:'Christian: Catholic or Orthodox', value:'2'},
{text:'Christian: Protestant or Other', value:'3'},
{text:'Hindu', value:'4'},
{text:'Jewish', value:'5'},
{text:'Muslim/Islamic', value:'6'},
{text:'Not Religious', value:'7'},
{text:'Other Religion', value:'8'}
]
});
var countriesArray = [
{text:'U.S.A. ',value:1},
{text:'Afghanistan',value:2},
{text:'Albania',value:3},
{text:'Algeria',value:4},
{text:'American Samoa',value:5},
{text:'Andorra',value:6},
{text:'Angola',value:7},
{text:'Anguilla',value:8},
{text:'Antarctica',value:9},
{text:'Antigua And Barbuda',value:10},
{text:'Argentina',value:11},
{text:'Armenia',value:12},
{text:'Aruba',value:13},
{text:'Australia',value:14},
{text:'Austria',value:15},
{text:'Azerbaijan',value:16},
{text:'Bahamas, The',value:17},
{text:'Bahrain',value:18},
{text:'Bangladesh',value:19},
{text:'Barbados',value:20},
{text:'Belarus',value:21},
{text:'Belgium',value:22},
{text:'Belize',value:23},
{text:'Benin',value:24},
{text:'Bermuda',value:25},
{text:'Bhutan',value:26},
{text:'Bolivia',value:27},
{text:'Bosnia and Herzegovina',value:28},
{text:'Botswana',value:29},
{text:'Bouvet Island',value:30},
{text:'Brazil',value:31},
{text:'British Indian Ocean Territory',value:32},
{text:'Brunei',value:33},
{text:'Bulgaria',value:34},
{text:'Burkina Faso',value:35},
{text:'Burundi',value:36},
{text:'Cambodia',value:37},
{text:'Cameroon',value:38},
{text:'Canada',value:39},
{text:'Cape Verde',value:40},
{text:'Cayman Islands',value:41},
{text:'Central African Republic',value:42},
{text:'Chad',value:43},
{text:'Chile',value:44},
{text:'China',value:45},
{text:'Christmas Island',value:46},
{text:'Cocos (Keeling) Islands',value:47},
{text:'Colombia',value:48},
{text:'Comoros',value:49},
{text:'Congo',value:50},
{text:'Congo, Democractic Republic of the',value:51},
{text:'Cook Islands',value:52},
{text:'Costa Rica',value:53},
{text:'Cote D\'Ivoire (Ivory Coast)',value:54},
{text:'Croatia (Hrvatska)',value:55},
{text:'Cuba',value:56},
{text:'Cyprus',value:57},
{text:'Czech Republic',value:58},
{text:'Denmark',value:59},
{text:'Djibouti',value:60},
{text:'Dominica',value:61},
{text:'Dominican Republic',value:62},
{text:'East Timor',value:63},
{text:'Ecuador',value:64},
{text:'Egypt',value:65},
{text:'El Salvador',value:66},
{text:'Equatorial Guinea',value:67},
{text:'Eritrea',value:68},
{text:'Estonia',value:69},
{text:'Ethiopia',value:70},
{text:'Falkland Islands (Islas Malvinas)',value:71},
{text:'Faroe Islands',value:72},
{text:'Fiji Islands',value:73},
{text:'Finland',value:74},
{text:'France',value:75},
{text:'French Guiana',value:76},
{text:'French Polynesia',value:77},
{text:'French Southern Territories',value:78},
{text:'Gabon',value:79},
{text:'Gambia, The',value:80},
{text:'Georgia',value:81},
{text:'Germany',value:82},
{text:'Ghana',value:83},
{text:'Gibraltar',value:84},
{text:'Greece',value:85},
{text:'Greenland',value:86},
{text:'Grenada',value:87},
{text:'Guadeloupe',value:88},
{text:'Guam',value:89},
{text:'Guatemala',value:90},
{text:'Guinea',value:91},
{text:'Guinea-Bissau',value:92},
{text:'Guyana',value:93},
{text:'Haiti',value:94},
{text:'Heard and McDonald Islands',value:95},
{text:'Honduras ',value:96},
{text:'Hong Kong S.A.R. ',value:97},
{text:'Hungary ',value:98},
{text:'Iceland ',value:99},
{text:'India ',value:100},
{text:'Indonesia ',value:101},
{text:'Iran ',value:102},
{text:'Iraq ',value:103},
{text:'Ireland ',value:104},
{text:'Israel ',value:105},
{text:'Italy ',value:106},
{text:'Jamaica ',value:107},
{text:'Japan ',value:108},
{text:'Jordan ',value:109},
{text:'Kazakhstan ',value:110},
{text:'Kenya ',value:111},
{text:'Kiribati ',value:112},
{text:'Korea ',value:113},
{text:'Korea, North',value:114},
{text:'Kuwait ',value:115},
{text:'Kyrgyzstan ',value:116},
{text:'Laos ',value:117},
{text:'Latvia ',value:118},
{text:'Lebanon ',value:119},
{text:'Lesotho ',value:120},
{text:'Liberia ',value:121},
{text:'Libya ',value:122},
{text:'Liechtenstein ',value:123},
{text:'Lithuania ',value:124},
{text:'Luxembourg ',value:125},
{text:'Macau S.A.R. ',value:126},
{text:'Macedonia, Former Yugoslav Republic of ',value:127},
{text:'Madagascar ',value:128},
{text:'Malawi ',value:129},
{text:'Malaysia ',value:130},
{text:'Maldives ',value:131},
{text:'Mali ',value:132},
{text:'Malta ',value:133},
{text:'Marshall Islands ',value:134},
{text:'Martinique ',value:135},
{text:'Mauritania ',value:136},
{text:'Mauritius ',value:137},
{text:'Mayotte ',value:138},
{text:'Mexico ',value:139},
{text:'Micronesia ',value:140},
{text:'Moldova ',value:141},
{text:'Monaco ',value:142},
{text:'Mongolia ',value:143},
{text:'Montenegro',value:144},
{text:'Montserrat ',value:145},
{text:'Morocco ',value:146},
{text:'Mozambique ',value:147},
{text:'Myanmar ',value:148},
{text:'Namibia ',value:149},
{text:'Nauru ',value:150},
{text:'Nepal ',value:151},
{text:'Netherlands Antilles ',value:152},
{text:'The Netherlands',value:153},
{text:'New Caledonia ',value:154},
{text:'New Zealand ',value:155},
{text:'Nicaragua ',value:156},
{text:'Niger ',value:157},
{text:'Nigeria ',value:158},
{text:'Niue ',value:159},
{text:'Norfolk Island ',value:160},
{text:'Northern Mariana Islands ',value:161},
{text:'Norway ',value:162},
{text:'Oman ',value:163},
{text:'Pakistan ',value:164},
{text:'Palau ',value:165},
{text:'Palestine', value:240},
{text:'Panama ',value:166},
{text:'Papua new Guinea ',value:167},
{text:'Paraguay ',value:168},
{text:'Peru ',value:169},
{text:'Philippines ',value:170},
{text:'Pitcairn Island ',value:171},
{text:'Poland ',value:172},
{text:'Portugal ',value:173},
{text:'Puerto Rico ',value:174},
{text:'Qatar ',value:175},
{text:'Reunion ',value:176},
{text:'Romania ',value:177},
{text:'Russia ',value:178},
{text:'Rwanda ',value:179},
{text:'Saint Helena ',value:180},
{text:'Saint Kitts And Nevis ',value:181},
{text:'Saint Lucia ',value:182},
{text:'Saint Pierre and Miquelon ',value:183},
{text:'Saint Vincent And The Grenadines ',value:184},
{text:'Samoa ',value:185},
{text:'San Marino ',value:186},
{text:'Sao Tome and Principe ',value:187},
{text:'Saudi Arabia ',value:188},
{text:'Senegal ',value:189},
{text:'Serbia',value:241},
{text:'Seychelles ',value:190},
{text:'Sierra Leone ',value:191},
{text:'Singapore ',value:192},
{text:'Slovakia ',value:193},
{text:'Slovenia ',value:194},
{text:'Solomon Islands ',value:195},
{text:'Somalia ',value:196},
{text:'South Africa ',value:197},
{text:'South Georgia And The South Sandwich Islands ',value:198},
{text:'South Sudan',value:199},
{text:'Spain ',value:200},
{text:'Sri Lanka ',value:201},
{text:'Sudan ',value:202},
{text:'Suriname ',value:203},
{text:'Svalbard And Jan Mayen Islands ',value:204},
{text:'Swaziland ',value:205},
{text:'Sweden ',value:206},
{text:'Switzerland ',value:207},
{text:'Syria ',value:208},
{text:'Taiwan ',value:209},
{text:'Tajikistan ',value:210},
{text:'Tanzania ',value:211},
{text:'Thailand ',value:212},
{text:'Togo ',value:213},
{text:'Tokelau ',value:214},
{text:'Tonga ',value:215},
{text:'Trinidad And Tobago ',value:216},
{text:'Tunisia ',value:217},
{text:'Turkey ',value:218},
{text:'Turkmenistan ',value:219},
{text:'Turks And Caicos Islands ',value:220},
{text:'Tuvalu ',value:221},
{text:'Uganda ',value:222},
{text:'Ukraine ',value:223},
{text:'United Arab Emirates ',value:224},
{text:'United Kingdom ',value:225},
{text:'U.S.A. ',value:1},
{text:'United States Minor Outlying Islands ',value:226},
{text:'Uruguay ',value:227},
{text:'Uzbekistan ',value:228},
{text:'Vanuatu ',value:229},
{text:'Vatican City State (Holy See) ',value:230},
{text:'Venezuela ',value:231},
{text:'Vietnam ',value:232},
{text:'Virgin Islands (British) ',value:233},
{text:'Virgin Islands (US) ',value:234},
{text:'Wallis And Futuna Islands ',value:235},
{text:'Yemen ',value:236},
{text:'Zambia ',value:238},
{text:'Zimbabwe', value:239}
];
API.addQuestionsSet('countrycit',{
inherit: 'singleChoicedrop',
name: 'countrycit002',
stem: 'What\'s your country/region of primary citizenship?',
answers: countriesArray
});
API.addQuestionsSet('countryres',{
inherit: 'singleChoicedrop',
name: 'countryres002',
stem: 'What is your country/region of residence?',
answers: countriesArray
});
API.addQuestionsSet('postcodenow',{
inherit: 'text',
name: 'postcodenow',
stem: 'What is the postal code of your primary residence?'
});
API.addQuestionsSet('postcodelong',{
inherit: 'text',
name: 'postcodelong',
stem: 'What is the postal code where you have lived the longest?'
});
API.addQuestionsSet('financialsupport',{
inherit: 'singleChoice',
name: 'financialsupport',
stem: 'How do you support yourself financially?',
answers: [
{text:'Self-supported',value:1},
{text:'Supported by parents, relatives or other guardians',value:2},
{text:'Supported by partner',value:3}
]
});
API.addQuestionsSet('studentOrNot',{
inherit: 'singleChoice',
name: 'studentOrNot',
stem: 'Are you presently a student in a primary school, secondary school, college, or graduate degree program?',
answers: [
{text:'Yes', value:1},
{text:'No', value:2}
]
});
API.addQuestionsSet('eduStudent',{
inherit: 'singleChoicedrop',
name: 'eduStudent',
stem: 'Please indicate your present student status.',
answers: [
{text:'Student in elementary school',value:1},
{text:'Student in junior high or middle school',value:2},
{text:'Student in high school',value:3},
{text:'Student in the first or second year of college',value:4},
{text:'Student in the third or higher year of college',value:5},
{text:'Student in M.B.A. program',value:6},
{text:'Student in other master\'s degree program',value:7},
{text:'Student in J.D. program',value:8},
{text:'Student in M.D. program',value:9},
{text:'Student in Ph.D. program',value:10},
{text:'Student in other advanced degree program',value:11}
]
});
API.addQuestionsSet('edu',{
inherit: 'singleChoicedrop',
name: 'edu',
stem: 'Please indicate the highest level of education that you have completed.',
answers: [
{text:'Elementary school',value:1},
{text:'Junior high or middle school',value:2},
{text:'Some high school',value:3},
{text:'High school graduate',value:4},
{text:'Some college',value:5},
{text:'Associate\'s degree',value:6},
{text:'Bachelor\'s degree',value:7},
{text:'Some graduate school',value:8},
{text:'Master\'s degree',value:9},
{text:'M.B.A.',value:14},
{text:'J.D.',value:10},
{text:'M.D.',value:11},
{text:'Ph.D.',value:12},
{text:'Other advanced degree', value:13}
]
});
API.addQuestionsSet('employment',{
inherit: 'singleChoice',
name: 'employment',
stem: 'Please indicate your present employment status.',
answers: [
{text:'Never employed', value:1},
{text:'Previously employed; now retired', value:2},
{text:'Presently unemployed but previously part-time employed', value:3},
{text:'Presently unemployed but previously full-time employed', value:4},
{text:'Presently part-time employed', value:5},
{text:'Presently full-time employed', value:6},
{text:'Non-standard employment (e.g. self-employed, multiple job holder)', value:7}
]
});
API.addQuestionsSet('occuSelf',{
inherit: 'singleChoicedrop',
name: 'occuSelf',
stem: 'Please indicate your full-time or part-time occupation. If you are now retired please answer by indicating your last full-time job. If you were previously employed and are not presently employed, please indicate your last part-time or full-time job.',
numericValues:false,
answers: [
{text:'Administrative Support', value:'43-'},
{text:'Arts/Design/Entertainment/Sports', value:'27-'},
{text:'Business', value:'13-'},
{text:'Computer/Math', value:'15-'},
{text:'Construction/Extraction', value:'47-'},
{text:'Education', value:'25-'},
{text:'Engineers/Architects', value:'17-'},
{text:'Farming, Fishing, Forestry', value:'45-'},
{text:'Food Service', value:'35-'},
{text:'Healthcare', value:'2931'},
{text:'Homemaker or Parenting', value:'00-'},
{text:'Legal', value:'23-'},
{text:'Maintenance', value:'37-'},
{text:'Management', value:'11-'},
{text:'Military', value:'55-'},
{text:'Production', value:'51-'},
{text:'Protective Service', value:'33-'},
{text:'Repair/Installation', value:'49-'},
{text:'Sales', value:'41-'},
{text:'Science', value:'19-'},
{text:'Service and Personal Care', value:'39-'},
{text:'Social Service', value:'21-'},
{text:'Transportation', value:'53-'},
{text:'Unemployed', value:'9998'}
]
});
API.addQuestionsSet('occupationCategory',{
inherit: 'singleChoicedrop',
required:false,
name: 'occuSelfDetail',
stem: 'Please select the most appropriate occupation category:'
});
API.addQuestionsSet('occuSelfDetail43',{
inherit: 'occupationCategory',
answers: [
{text:'Supervisors', value:'43-1000'},
{text:'Financial Clerks', value:'43-3000'},
{text:'Information and Records', value:'43-4000'},
{text:'Recording, Scheduling, Dispatching, Distributing', value:'43-5000'},
{text:'Secretaries and Assistants', value:'43-6000'},
{text:'Other Support (data entry, office clerk, proofreaders)', value:'43-7000'}
]
});
API.addQuestionsSet('occuSelfDetail27',{
inherit: 'occupationCategory',
answers: [
{text:'Art and Design', value:'27-1000'},
{text:'Entertainers and Performers', value:'27-2000'},
{text:'Media and communication', value:'27-3000'},
{text:'Media Equipment workers', value:'27-4000'}
]
});
API.addQuestionsSet('occuSelfDetail13',{
inherit: 'occupationCategory',
answers: [
{text:'Business Operations', value:'13-1000'},
{text:'Financial Specialists', value:'13-2000'}
]
});
API.addQuestionsSet('occuSelfDetail15',{
inherit: 'occupationCategory',
answers: [
{text:'Computer Specialists', value:'15-1000'},
{text:'Math Scientists', value:'15-2000'},
{text:'Math Technicians', value:'15-3000'}
]
});
API.addQuestionsSet('occuSelfDetail47',{
inherit: 'occupationCategory',
answers: [
{text:'Supervisors', value:'47-1000'},
{text:'Construction Trades', value:'47-2000'},
{text:'Helpers, Construction Trades', value:'47-3000'},
{text:'Extraction (e.g., mining, oil)', value:'47-5000'},
{text:'Other', value:'47-4000'}
]
});
API.addQuestionsSet('occuSelfDetail25',{
inherit: 'occupationCategory',
answers: [
{text:'Postsecondary Teachers', value:'25-1000'},
{text:'Primary, Secondary, and Special Ed Teachers', value:'25-2000'},
{text:'Other teachers and instructors', value:'25-3000'},
{text:'Librarians, Curators, Archivists', value:'25-4000'},
{text:'Other education, training, and library occupations', value:'25-9000'},
{text:'Student', value:'25-9999'}
]
});
API.addQuestionsSet('occuSelfDetail17',{
inherit: 'occupationCategory',
answers: [
{text:'Architects, Surveyors, Cartographers', value:'17-1000'},
{text:'Engineers', value:'17-2000'},
{text:'Drafters, Engineering and Mapping Technicians', value:'17-3000'}
]
});
API.addQuestionsSet('occuSelfDetail45',{
inherit: 'occupationCategory',
answers: [
{text:'Supervisors', value:'45-1000'},
{text:'Agriculture', value:'45-2000'},
{text:'Fishing and Hunting', value:'45-3000'},
{text:'Forest, Conservation, Logging', value:'45-4000'},
{text:'Other', value:'45-9000'}
]
});
API.addQuestionsSet('occuSelfDetail35',{
inherit: 'occupationCategory',
answers: [
{text:'Supervisors', value:'35-1000'},
{text:'Cooks and food prep', value:'35-2000'},
{text:'Servers', value:'35-3000'},
{text:'Other food service workers (e.g., dishwasher, host)', value:'35-9000'}
]
});
API.addQuestionsSet('occuSelfDetail2931',{
inherit: 'occupationCategory',
answers: [
{text:'Diagnosing and Treating Practitioners (MD, Dentist, etc.)', value:'29-1000'},
{text:'Technologists and Technicians', value:'29-2000'},
{text:'Nursing and Home Health Assistants', value:'31-1000'},
{text:'Occupational and Physical Therapist Assistants', value:'31-2000'},
{text:'Other healthcare support', value:'31-9000'}
]
});
API.addQuestionsSet('occuSelfDetail00',{
inherit: 'occupationCategory',
dflt: '00-0000',
answers: [
{text:'Homemaker or Parenting', value:'00-0000'}
]
});
API.addQuestionsSet('occuSelfDetail23',{
inherit: 'occupationCategory',
answers: [
{text:'Lawyers, Judges, and related workers', value:'23-1000'},
{text:'Legal support workers', value:'23-2000'}
]
});
API.addQuestionsSet('occuSelfDetail37',{
inherit: 'occupationCategory',
answers: [
{text:'Building and Grounds Supervisors', value:'37-1000'},
{text:'Building workers', value:'37-2000'},
{text:'Grounds Maintenance', value:'37-3000'}
]
});
API.addQuestionsSet('occuSelfDetail11',{
inherit: 'occupationCategory',
answers: [
{text:'Top Executives', value:'1'},
{text:'Advertising, Sales, PR, Marketing', value:'11-2000'},
{text:'Operations Specialists', value:'11-3000'},
{text:'Other Management Occupations', value:'11-9000'}
]
});
API.addQuestionsSet('occuSelfDetail55',{
inherit: 'occupationCategory',
answers: [
{text:'Officer and Tactical Leaders/Managers', value:'55-1000'},
{text:'First-line enlisted supervisor/manager', value:'55-2000'},
{text:'Enlisted tactical, air/weapons, crew, other', value:'55-3000'}
]
});
API.addQuestionsSet('occuSelfDetail51',{
inherit: 'occupationCategory',
answers: [
{text:'Supervisors', value:'51-1000'},
{text:'Assemblers and Fabricators', value:'51-2000'},
{text:'Food processing', value:'51-3000'},
{text:'Metal and Plastic', value:'51-4000'},
{text:'Printers', value:'51-5000'},
{text:'Textile, Apparel, Furnishings', value:'51-6000'},
{text:'Woodworkers', value:'51-7000'},
{text:'Plant and System Operators', value:'51-8000'},
{text:'Other', value:'51-9000'}
]
});
API.addQuestionsSet('occuSelfDetail33',{
inherit: 'occupationCategory',
answers: [
{text:'Supervisors', value:'33-1000'},
{text:'Fire fighting and prevention', value:'33-2000'},
{text:'Law Enforcement', value:'33-3000'},
{text:'Other (e.g., security, lifeguards, crossing guards)', value:'33-9000'}
]
});
API.addQuestionsSet('occuSelfDetail49',{
inherit: 'occupationCategory',
answers: [
{text:'Supervisors', value:'49-1000'},
{text:'Electrical and Electronic', value:'49-2000'},
{text:'Vehicle and Mobile Equipment', value:'49-3000'},
{text:'Other', value:'49-9000'}
]
});
API.addQuestionsSet('occuSelfDetail41',{
inherit: 'occupationCategory',
answers: [
{text:'Supervisors', value:'1000'},
{text:'Retail', value:'41-2000'},
{text:'Sales Representatives and Services', value:'41-3000'},
{text:'Wholesale and Manufacturing', value:'41-4000'},
{text:'Other sales (e.g., telemarketers, real estate)', value:'41-9000'}
]
});
API.addQuestionsSet('occuSelfDetail19',{
inherit: 'occupationCategory',
answers: [
{text:'Life Scientists', value:'19-1000'},
{text:'Physical scientists', value:'19-2000'},
{text:'Social Scientists', value:'19-3000'},
{text:'Life, Physical, Social Science Technicians', value:'19-4000'}
]
});
API.addQuestionsSet('occuSelfDetail39',{
inherit: 'occupationCategory',
answers: [
{text:'Supervisors', value:'39-1000'},
{text:'Animal Care', value:'39-2000'},
{text:'Entertainment attendants', value:'39-3000'},
{text:'Funeral Service', value:'39-4000'},
{text:'Personal Appearance', value:'39-5000'},
{text:'Transportation, Tourism, Lodging', value:'39-6000'},
{text:'Other service (e.g., child care, fitness)', value:'39-9000'}
]
});
API.addQuestionsSet('occuSelfDetail21',{
inherit: 'occupationCategory',
answers: [
{text:'Counselors, Social Workers, Community specialists', value:'21-1000'},
{text:'Religious Workers', value:'21-2000'}
]
});
API.addQuestionsSet('occuSelfDetail53',{
inherit: 'occupationCategory',
answers: [
{text:'Supervisors', value:'53-1000'},
{text:'Air Transportation', value:'53-2000'},
{text:'Motor Vehicle Operators', value:'53-3000'},
{text:'Rail Transport', value:'53-4000'},
{text:'Water Transport', value:'53-5000'},
{text:'Material Moving', value:'53-7000'},
{text:'Other', value:'53-6000'}
]
});
API.addQuestionsSet('occuSupporter',{
inherit: 'occuSelf',
name: 'occuSupporter',
stem: 'Please indicate the occupation of the person who is most responsible for your support. ' +
'If that person is retired or otherwise not presently employed, please answer by indicating that person\'s previous employment.'
});
API.addQuestionsSet('occuSupporterDetail43',{
inherit: 'occuSelfDetail43',
name : 'occuSupporterDetail43'
});
API.addQuestionsSet('occuSupporterDetail27',{
inherit: 'occuSelfDetail27',
name : 'occuSupporterDetail27'
});
API.addQuestionsSet('occuSupporterDetail13',{
inherit: 'occuSelfDetail13',
name : 'occuSupporterDetail13'
});
API.addQuestionsSet('occuSupporterDetail15',{
inherit: 'occuSelfDetail15',
name : 'occuSupporterDetail15'
});
API.addQuestionsSet('occuSupporterDetail47',{
inherit: 'occuSelfDetail47',
name : 'occuSupporterDetail47'
});
API.addQuestionsSet('occuSupporterDetail25',{
inherit: 'occuSelfDetail25',
name : 'occuSupporterDetail25'
});
API.addQuestionsSet('occuSupporterDetail17',{
inherit: 'occuSelfDetail17',
name : 'occuSupporterDetail17'
});
API.addQuestionsSet('occuSupporterDetail45',{
inherit: 'occuSelfDetail45',
name : 'occuSupporterDetail45'
});
API.addQuestionsSet('occuSupporterDetail35',{
inherit: 'occuSelfDetail35',
name : 'occuSupporterDetail35'
});
API.addQuestionsSet('occuSupporterDetail2931',{
inherit: 'occuSelfDetail2931',
name : 'occuSupporterDetail2931'
});
API.addQuestionsSet('occuSupporterDetail00',{
inherit: 'occuSelfDetail00',
name : 'occuSupporterDetail00'
});
API.addQuestionsSet('occuSupporterDetail23',{
inherit: 'occuSelfDetail23',
name : 'occuSupporterDetail23'
});
API.addQuestionsSet('occuSupporterDetail37',{
inherit: 'occuSelfDetail37',
name : 'occuSupporterDetail37'
});
API.addQuestionsSet('occuSupporterDetail11',{
inherit: 'occuSelfDetail11',
name : 'occuSupporterDetail11'
});
API.addQuestionsSet('occuSupporterDetail55',{
inherit: 'occuSelfDetail55',
name : 'occuSupporterDetail55'
});
API.addQuestionsSet('occuSupporterDetail51',{
inherit: 'occuSelfDetail51',
name : 'occuSupporterDetail51'
});
API.addQuestionsSet('occuSupporterDetail33',{
inherit: 'occuSelfDetail33',
name : 'occuSupporterDetail33'
});
API.addQuestionsSet('occuSupporterDetail49',{
inherit: 'occuSelfDetail49',
name : 'occuSupporterDetail49'
});
API.addQuestionsSet('occuSupporterDetail41',{
inherit: 'occuSelfDetail41',
name : 'occuSupporterDetail41'
});
API.addQuestionsSet('occuSupporterDetail19',{
inherit: 'occuSelfDetail19',
name : 'occuSupporterDetail19'
});
API.addQuestionsSet('occuSupporterDetail39',{
inherit: 'occuSelfDetail39',
name : 'occuSupporterDetail39'
});
API.addQuestionsSet('occuSupporterDetail21',{
inherit: 'occuSelfDetail21',
name : 'occuSupporterDetail21'
});
API.addQuestionsSet('occuSupporterDetail53',{
inherit: 'occuSelfDetail53',
name : 'occuSupporterDetail53'
});
API.addQuestionsSet('incomeSelf',{
inherit: 'singleChoicedrop',
name : 'incomeSelf',
stem: 'Please indicate your yearly income. ',
answers: [
{text:'More than $200,000 per year', value:1},
{text:'Up to $200,000 per year', value:2},
{text:'Up to $190,000 per year', value:3},
{text:'Up to $180,000 per year', value:4},
{text:'Up to $170,000 per year', value:5},
{text:'Up to $160,000 per year', value:6},
{text:'Up to $150,000 per year', value:7},
{text:'Up to $140,000 per year', value:8},
{text:'Up to $130,000 per year', value:9},
{text:'Up to $120,000 per year', value:10},
{text:'Up to $110,000 per year', value:11},
{text:'Up to $100,000 per year', value:12},
{text:'Up to $90,000 per year', value:13},
{text:'Up to $80,000 per year', value:14},
{text:'Up to $70,000 per year', value:15},
{text:'Up to $60,000 per year', value:16},
{text:'Up to $50,000 per year', value:17},
{text:'Up to $40,000 per year', value:18},
{text:'Up to $30,000 per year', value:19},
{text:'Up to $20,000 per year', value:20},
{text:'Up to $10,000 per year', value:21}