-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata.js
43 lines (40 loc) · 18 KB
/
data.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
var q1communityCenters = ["tb", "hpcc", "community center", "jc"];
var q2age = [68.0, 56.0, 59.0, 51.0, 61.0, 64.0, 67.0, 56.0, 59.0, 72.0, 59.0, 55.0, 83.0, 61.0, 72.0, 65.0, 42.0, 48.0, 87.0, 63.0, 70.0, 54.0, 60.0, 79.0, 40.0, 58.0, 61.0, 61.0, 70.0, 71.0, 58.0, 60.0, 66.0, 28.0, 52.0, 69.0, 54.0, 62.0, 62.0, 59.0, 73.0, 69.0, 58.0, 63.0, 60.0, 41.0, 75.0, 55.0, 45.0, 45.0, 58.0, 48.0, 65.0, 59.0, 52.0, 67.0, 66.0, 66.0, 62.0, 53.0, 59.0, 53.0, 60.0, 51.0, 59.0, 60.0, 70.0, 62.0, 61.0, 52.0, 66.0, 63.0, 49.0, 64.0, 58.0, 51.0, 53.0, 58.0];
var q3leftPast3 = ["yes", "no", "no", "yes", "no", "yes", "no", "yes", "yes", "no", "yes", "no", "no", "yes", "yes", "yes", "yes", "no", "yes", "yes", "yes", "yes", "no", "yes", "yes", "yes", "no", "yes", "no", "no", "no", "yes", "yes", "yes", "no", "no", "yes", "no", "yes", "yes", "yes", "yes", "yes", "yes", "no", "yes", "no", "no", "no", "yes", "yes", "yes", "yes", "no", "no", "yes", "yes", "yes", "yes", "no", "no", "yes", "yes", "no", "yes", "yes", "no", "yes", "yes", "no", "yes", "no", "no", "no", "no", "yes", "yes"];
var q34timesLeftPast3 = [3.0, 7.0, 1.0, 3.0, 2.0, 0.0, 2.0, 0.0, 1.0, 2.0, 1.0, 1.0, 3.0, 1.0, 2.0, 3.0, 0.0, 2.0, 3.0, 3.0, 0.0, 1.0, 0.0, 0.0, 4.0, 2.0, 3.0, 1.0, 0.0, 2.0, 0.0, 1.0, 3.0, 3.0, 3.0, 2.0, 9.0, 1.0, 0.0, 0.0, 1.0, 5.0, 1.0, 1.0, 0.0, 0.0, 3.0, 3.0, 1.0, 3.0, 0.0, 0.0, 2.0, 1.0, 0.0, 1.0, 1.0, 1.0, 0.0, 3.0, 3.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0];
var q4whyLeft = ["get out", "mail, food", "personal business", "work, exercise, health-related, food", "forced", "get out", "work", "personal business, laundry", "food, health-related", "health-related", "health-related", "personal business", "food", "work, exercise", "mail", "work", "food", "family", "health-related", "food, laundry, essentials", "get out", "personal business", "personal business", "food", "get out, health-related", "get out", "health-related, food", "food, essentials", "food, health-related", "get out", "food", "health-related", "mail", "essentials", "essentials", "get out", "personal business", "family", "personal business", "food", "get out", "health-related", "personal business", "laundry, food, mail", "work", "health-related", "personal business", "family", "mail, health-related"];;
var q5comorbs = ["none", "heart disease, high blood pressure, old age", "none", "none", "none", "copd", "heart disease, lung disease, kidney, liver", "heart disease, diabetes", "serious accident impaled in 1998", "none", "none", "heart disease, angina", "high blood pressure", "lung disease", "none", "diabetes, high cholesterol", "none", "heart disease, diabetes, kidney, liver, high blood pressure, immune suppression disease, on dialysis", "none", "asthma", "none", "none", "kidney, liver", "none", "heart disease, methadone", "none", "none", "immune suppression disease", "none", "high blood pressure, skin cancer", "high blood pressure", "none", "heart disease, lung disease, high blood pressure, regular heart disease", "high blood pressure, pancreatitis", "asthma", "asthma", "none", "diabetes", "none", "heart disease, lung disease, diabetes, kidney, liver, high blood pressure, autoimmune disease", "lupus", "diabetes, kidney, liver, high blood pressure", "high blood pressure", "diabetes", "copd", "diabetes", "diabetes, high blood pressure, asthma", "none", "none", "seasonal allergies", "heart disease, congestive chronic heart disease", "high blood pressure, asthma", "none", "none", "lung disease, diabetes", "none", "none", "none", "none", "diabetes, high blood pressure, high cholesterol", "post leukemia, lung surgery", "heart disease, lung disease, diabetes, high blood pressure", "asthma, copd, ptsd, anxiety", "none", "mental health", "diabetes, high blood pressure, depression", "knee problems", "copd", "high blood pressure, i get sick frequently", "none", "copd, asthma", "blank", "heart disease, lung disease, immune suppression disease, copd, asthma", "blank", "diabetes, high blood pressure", "high blood pressure", "diabetes, high blood pressure", "heart disease, lung disease, diabetes, kidney, liver, high blood pressure"];
var q6perSev = ["very serious", "very serious", "very serious", "very serious", "not serious at all", "somewhat serious", "very serious", "very serious", "a little serious", "very serious", "very serious", "very serious", "very serious", "very serious", "very serious", "very serious", "somewhat serious", "very serious", "somewhat serious", "somewhat serious", "not serious at all", "very serious", "very serious", "a little serious", "very serious", "not serious at all", "somewhat serious", "very serious", "not serious at all", "not serious at all", "somewhat serious", "not serious at all", "not serious at all", "not serious at all", "somewhat serious", "very serious", "not serious at all", "a little serious", "not serious at all", "very serious", "not serious at all", "very serious", "not serious at all", "very serious", "a little serious", "very serious", "very serious", "somewhat serious", "somewhat serious", "very serious", "not serious at all", "very serious", "somewhat serious", "very serious", "not serious at all", "somewhat serious", "not serious at all", "not serious at all", "very serious", "very serious", "somewhat serious", "not serious at all", "a little serious", "very serious", "very serious", "very serious", "a little serious", "very serious", "very serious", "somewhat serious", "a little serious", "very serious", "very serious", "very serious", "not serious at all", "not serious at all", "a little serious", "very serious"];
var q7perRisk = ["yes", "yes", "maybe", "no", "no", "no", "yes", "maybe", "no", "no", "maybe", "yes", "yes", "yes", "don't know", "yes", "no", "yes", "maybe", "maybe", "no", "no", "maybe", "no", "no", "no", "no", "yes", "no", "no", "don't know", "no", "no", "yes", "yes", "yes", "no", "no", "no", "yes", "no", "yes", "no", "no", "no", "no", "yes", "no", "maybe", "yes", "no", "no", "no", "no", "yes", "no", "no", "no", "yes", "maybe", "no", "no", "maybe", "no", "yes", "maybe", "no", "maybe", "yes", "don't know", "no", "don't know", "no", "no", "no", "no"];
var q9perAvoid = ["no", "yes", "yes", "yes", "yes", "yes", "yes", "yes", "yes", "no", "yes", "yes", "maybe", "yes", "yes", "maybe", "yes", "yes", "yes", "maybe", "maybe", "yes", "yes", "yes", "don't know", "yes", "no", "yes", "yes", "no", "no", "no", "no", "yes", "yes", "yes", "yes", "yes", "yes", "yes", "don't know", "no", "no", "no", "yes", "no", "yes", "yes", "maybe", "yes", "no", "no", "no", "yes", "no", "yes", "no", "yes", "no", "no", "yes", "yes", "yes", "no", "yes", "yes", "yes", "yes", "no", "don't know", "no", "yes", "don't know", "no", "no", "don't know", "no", "yes"];
var q10stayWeek = ["maybe", "yes", "yes", "no", "yes", "yes", "yes", "yes", "yes", "no", "yes", "yes", "yes", "yes", "yes", "no", "yes", "no", "yes", "yes", "no", "yes", "yes", "yes", "yes", "maybe", "no", "yes", "yes", "yes", "maybe", "no", "yes", "yes", "yes", "yes", "yes", "yes", "maybe", "no", "don't know", "yes", "yes", "yes", "yes", "no", "yes", "yes", "yes", "yes", "yes", "yes", "maybe", "yes", "yes", "yes", "yes", "yes", "no", "yes", "yes", "yes", "yes", "yes", "maybe", "yes", "yes", "yes", "no", "maybe", "no", "yes", "no", "no", "yes", "no", "yes", "yes"];
var q11howEasyToStay = ["not easy", "easy", "easy", "somewhat easy", "not easy", "somewhat easy", "easy", "easy", "not easy", "not easy", "not easy", "easy", "easy", "easy", "easy", "not easy", "easy", "not easy", "easy", "easy", "not easy", "easy", "somewhat easy", "easy", "easy", "easy", "somewhat easy", "not easy", "easy", "easy", "not easy", "not easy", "not easy", "easy", "easy", "easy", "easy", "somewhat easy", "easy", "not easy", "somewhat easy", "easy", "easy", "not easy", "easy", "easy", "easy", "easy", "somewhat easy", "easy", "easy", "not easy", "somewhat easy", "easy", "somewhat easy", "somewhat easy", "not easy", "not easy", "not easy", "somewhat easy", "easy", "somewhat easy", "easy", "easy", "somewhat easy", "somewhat easy", "easy", "somewhat easy", "not easy", "easy", "not easy", "easy", "somewhat easy", "not easy", "not easy", "not easy", "not easy", "easy"];
var q12whatMakeStayEasier = ["activities", "food", "activities", "workout", "essentials", "essentials, laundry, workout, appointments", "clear rules", "food, activities", "food", "phone, masks", "activities", "workout", "food", "food", "food", "drugs", "safety", "food", "space", "food, laundry", "showers", "food", "medicines", "masks, food", "activities", "food", "food, essentials", "hc", "anti-containment", "safety", "transportation", "safety", "activities", "food", "food, activities", "food", "food, activities", "public phone", "activities, anti-containment", "essentials", "food", "food, transportation, activities", "hc", "activities", "space", "medicines, essentials", "food", "safety", "essentials", "hc", "cleanliness", "work", "medications, workout", "medicines, food, activities, mail", "laundry, food", "workout", "workout", "space, anti-containment,", "activities"];
var q13howDifficultToStay = ["very difficult", "not difficult", "not difficult", "a little difficult", "somewhat difficult", "somewhat difficult", "not difficult", "somewhat difficult", "somewhat difficult", "very difficult", "very difficult", "not difficult", "not difficult", "not difficult", "a little difficult", "very difficult", "somewhat difficult", "very difficult", "not difficult", "somewhat difficult", "very difficult", "not difficult", "a little difficult", "not difficult", "a little difficult", "not difficult", "somewhat difficult", "a little difficult", "not difficult", "not difficult", "very difficult", "very difficult", "very difficult", "not difficult", "not difficult", "not difficult", "very difficult", "not difficult", "a little difficult", "very difficult", "very difficult", "not difficult", "a little difficult", "very difficult", "not difficult", "somewhat difficult", "not difficult", "not difficult", "not difficult", "not difficult", "not difficult", "somewhat difficult", "somewhat difficult", "not difficult", "somewhat difficult", "somewhat difficult", "very difficult", "very difficult", "somewhat difficult", "not difficult", "a little difficult", "not difficult", "not difficult", "not difficult", "somewhat difficult", "a little difficult", "not difficult", "somewhat difficult", "very difficult", "not difficult", "very difficult", "not difficult", "somewhat difficult", "very difficult", "very difficult", "very difficult", "very difficult", "not difficult"];
var q14whatMakesDifficult = ["laundry", "public phone", "activities", "appointments, workout, anti-containment safety", "anti-containment", "anti-containment", "food", "anti-containment", "food, appointment, space", "space", "appointments, anti-containment", "anti-containment", "anti-containment", "hc", "laundry", "drugs", "safety", "food, hc", "family, work", "activities", "essentials", "space", "medicines", "food", "work", "safety", "food", "anti-containment", "anti-containment, workout", "safety", "essentials, food", "sapce", "food, activities", "appointments", "space", "food", "food", "food, space", "activities", "activities", "space", "food, pets", "anti-containment", "fear of illness", "work", "activities", "food, medicines, laundry", "activities, space", "food, essentials", "food", "anti-containment", "safety", "anti-containment", "anti-containment", "workout, anti-containment", "food, medicines", "laundry, food", "anti-containment, food", "safety", "mail, medicines, food, family", "family"];
var q15centerAdvants = ["none", "safety and housing", "safety and housing, food", "technology", "community", "self growth", "safety and housing", "food, good caretaking", "safety and housing", "food, safety and housing", "safety and housing", "avoiding covid", "avoiding covid", "avoiding covid", "safety and housing, food, community", "safety and housing", "food, community", "self growth, community", "not specific", "safety and housing", "technology", "community, self growth", "safety and housing, food", "technology", "avoiding covid", "none", "technology, food", "not specific", "safety and housing", "self growth", "none", "safety and housing, food", "none", "avoiding covid", "avoiding covid", "safety and housing", "safety and housing, food", "avoiding covid", "avoiding covid", "none", "none", "safety and housing", "safety and housing", "none", "safety and housing, self growth", "community", "safety and housing", "safety and housing, self growth, avoiding covid", "safety and housing, technology", "avoiding covid", "safety and housing", "safety and housing, avoiding covid", "avoiding covid", "avoiding covid", "avoiding covid", "safety and housing", "community, food, safety and housing", "self growth", "community, food, self growth, avoiding covid, safety and housing", "technology", "self growth, food", "avoiding covid", "avoiding covid", "safety and housing, good caretaking", "community", "safety and housing", "good caretaking, safety and housing", "good caretaking, safety and housing", "safety and housing", "good caretaking, community", "avoiding covid", "none", "safety and housing", "community", "safety and housing", "none", "none", "safety and housing"];
var q16centerDisadvants = ["uncleanliness", "none", "uncomfortable", "lack of producitivity", "conflict", "lack of producitivity", "uncertainty about the future", "isolation, conflict", "uncleanliness, inconvenient, food", "none", "uncomfortable", "none", "isolation", "none", "none", "no technology, food", "lack of productivity, isolation", "poor communication, incovenient", "none", "isolation", "isolation", "uncertainty about the future", "none", "none", "uncertainty about the future", "none", "inconvenient", "none", "inconvenient", "food", "uncertainty about the future", "lack of producitivity, conflict", "uncleanliness", "lack of productivity, uncleanliness", "none", "poor communication", "none", "none", "food", "medical attention", "isolation", "medical attention", "isolation", "medical attention", "none", "lack of productivity", "none", "none", "uncleanliness, medical attention", "none", "isolation", "lack of productivity", "lack of productivity", "uncleanliness", "inconvenient, medical attention", "isolation", "none", "isolation", "isolation", "isolation", "inconvenient", "inconvenient, isolation", "isolation", "poor communication", "medical attention", "uncertainty about the future", "uncomfortable", "none", "food", "none", "isolation", "none", "none", "isolation, poor communication", "isolation, poor communication", "conflict, isolation", "isolation, poor communication", "food, uncomfortable"];
var q17peopleKnowValueStay = ["no", "no", "yes", "yes", "yes", "yes", "yes", "no", "no", "yes", "yes", "yes", "yes", "yes", "yes", "yes", "no", "yes", "no", "yes", "yes", "yes", "yes", "yes", "no", "yes", "yes", "no", "yes", "yes", "yes", "no", "yes", "yes", "yes", "yes", "yes", "no", "no", "yes", "yes", "yes", "yes", "yes", "yes", "yes", "yes", "no", "yes", "no", "yes", "half", "yes", "yes", "no", "yes", "not really", "yes", "yes", "yes", "no", "yes", "yes", "yes", "yes", "no", "yes", "yes", "no", "yes", "no", "no", "no", "no", "no"];
var q18whoApprove = ["no one", "no one", "family", "staff", "staff", "family", "staff", "staff", "community", "family", "other", "family, staff, friends, myself", "community", "myself", "staff", "community", "community", "no one", "no one", "government, family, myself", "n/a", "staff, community", "government", "n/a", "staff", "n/a", "family", "community", "other", "staff", "community", "government, community", "no one", "staff", "community", "staff", "staff, family, friends", "community", "staff", "government", "other", "other", "staff", "community", "other", "no one", "family", "community", "community", "staff", "family, friends", "staff", "family", "government", "community, family", "government", "government", "staff, family", "community, staff", "no one", "no one", "no one", "family", "staff", "staff, friends, family", "staff", "staff", "family, friends", "family", "no one", "family, friends, community", "staff, friends, family", "no one", "staff, government", "staff", "no one", "myself"];
var q10whoDisapprove = ["no one", "no one", "no one", "myself", "no one", "family", "no one", "no one", "staff", "myself", "community", "no one", "other", "no one", "no one", "other", "n/a", "no one", "n/a", "no one", "n/a", "no one", "nobody", "n/a", "family", "n/a", "other", "no one", "other", "no one", "staff", "no one", "government", "community", "no one", "no one", "no one", "no one", "other", "staff", "staff", "no one", "no one", "community", "no one", "other", "no one", "no one", "no one", "other", "friends, government", "n/a", "no one", "no one", "no one", "no one", "no one", "no one", "no one", "other", "no one", "friends", "no one", "no one", "community", "no one", "no one", "no one", "no one", "no one", "no one", "no one", "community", "community", "staff, community", "friends, myself", "no one", "no one"];
var colorTurq = 'rgba(26, 188, 156, 1.0)';
var colorGreen = 'rgba(46, 204, 113,1.0)';
var colorBlue = 'rgba(52, 152, 219,1.0)';
var colorPurple = 'rgba(155, 89, 182,1.0)';
var colorYellow = 'rgba(241, 196, 15,1.0)';
var colorOrange = 'rgba(230, 126, 34,1.0)';
var colorLightOrange = 'rgba(255, 192, 72, 1.0)';
var colorRed = 'rgba(231, 76, 60,1.0)';
var colorDark = 'rgba(52, 73, 94,1.0)';
var colorPeach = 'rgba(255, 204, 204,1.0)';
var colorTurq2 = 'rgba(26, 188, 156, 0.8)';
var colorGreen2 = 'rgba(46, 204, 113, 0.8)';
var colorBlue2 = 'rgba(52, 152, 219, 0.8)';
var colorPurple2 = 'rgba(155, 89, 182, 0.8)';
var colorYellow2 = 'rgba(241, 196, 15, 0.8)';
var colorOrange2 = 'rgba(230, 126, 34, 0.8)';
var colorLightOrange2 = 'rgba(255, 192, 72, 0.8)';
var colorRed2 = 'rgba(231, 76, 60, 0.8)';
var colorDark2 = 'rgba(52, 73, 94, 0.8)';
var colorPeach2 = 'rgba(255, 204, 204, 0.8)';
var colorsArray = [colorTurq2, colorGreen2, colorBlue2, colorPurple2, colorYellow2, colorLightOrange2, colorPeach2, colorTurq, colorGreen, colorBlue, colorPurple, colorYellow, colorLightOrange, colorPeach, colorTurq2, colorGreen2, colorBlue2, colorPurple2, colorYellow2, colorLightOrange2, colorPeach2, colorTurq, colorGreen, colorBlue, colorPurple, colorYellow, colorLightOrange, colorPeach, colorTurq2, colorGreen2, colorBlue2, colorPurple2, colorYellow2, colorLightOrange2, colorPeach2]