-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.js
124 lines (121 loc) · 1.91 KB
/
constants.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
/**
* Constant values used across several parts of the dashboard.
*/
// A list of keywords passed to social media API's in order
// to query for just COVID-19 related posts.
const COVID_KEYWORDS = [
'covid',
'coronavirus',
'corona',
'rona',
'omicron',
'vaccine',
'vacunas',
'vax',
'vaccinated',
'vxxed',
'unvxxed',
'pandemic',
'pandemia',
'masks',
'n95',
'quarantine',
'booster',
'pcr',
'antigen',
'binax',
'binaxnow',
];
// A dictionary of COVID-19 topics and substrings used
// to classify incoming posts by those topics using post content.
const COVID_TOPICS = {
'covid-diabetes': [
'diabet',
't1d',
't2d',
'insulin',
'blood sugar',
'a1c',
'metformin',
'heart disease',
'obes',
'overweight',
],
'testing': [
' test',
'prueba',
'pcr',
'antigen',
'binax',
'swab',
'negative',
'covid result',
],
'vaccines': [
'vacc',
'vax',
'vxx',
'shot',
'jab',
'vacuna',
'astrazeneca',
'j&j',
'johnson & johnson',
'johnson and johnson',
'moderna',
'pfizer',
'mrna',
'one and done',
'oneanddone',
],
'booster': [
'boost',
'third dose',
'third shot',
'3rd dose',
'3rd shot',
],
'treatments': [
'treatment',
'cure',
'antiviral',
'anti-viral',
'remdesivir',
'molnupiravir',
'paxlovid',
'pill',
'antibody drug',
'monoclonal antibod',
'ivermectin',
],
'long-hauler': [
'long haul',
'long-haul',
'longhaul',
'long covid',
'longcovid',
'long-term',
'post-acute',
'post acute',
'pasc',
],
'variants': [
'variant',
'delta',
'lambda',
'omicron',
],
'georgia': [
'georgia',
' ga ',
'atl',
'fulton',
'dekalb',
'cobb',
'clayton',
'gwinnett',
'albany',
'dougherty',
],
}
module.exports = { COVID_KEYWORDS, COVID_TOPICS };