Skip to content

Commit 2a9e511

Browse files
authored
Merge pull request #296 from cmu-delphi/engr/v1.7-indicators
Indicators for v1.7 demo
2 parents e96a609 + b5db240 commit 2a9e511

File tree

1 file changed

+64
-48
lines changed

1 file changed

+64
-48
lines changed

src/stores/constants.js

Lines changed: 64 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,42 @@ export function withSensorEntryKey(sensorEntry) {
153153
* @type {SensorEntry[]}
154154
*/
155155
export const sensorList = [
156+
{
157+
name: 'Away from Home 6hr+ (SG)',
158+
id: 'safegraph',
159+
tooltipText: 'Proportion of people spending 6 hours or more away from home, based on SafeGraph mobility data',
160+
mapTitleText: 'Proportion of people spending 6 hours or more away from home, based on SafeGraph mobility data',
161+
chartTitleText: 'Proportion of people spending 6 hours or more away from home, based on SafeGraph mobility data',
162+
yAxis: 'Proportion',
163+
format: 'raw',
164+
signal: 'full_time_work_prop',
165+
levels: ['county', 'state'],
166+
type: 'public',
167+
},
168+
{
169+
name: 'Away from Home 3-6hr (SG)',
170+
id: 'safegraph',
171+
tooltipText: 'Proportion of people spending 3-6 hours away from home, based on SafeGraph mobility data',
172+
mapTitleText: 'Proportion of people spending 3-6 hours away from home, based on SafeGraph mobility data',
173+
chartTitleText: 'Proportion of people spending 3-6 hours away from home, based on SafeGraph mobility data',
174+
yAxis: 'Proportion',
175+
format: 'raw',
176+
signal: 'part_time_work_prop',
177+
levels: ['county', 'state'],
178+
type: 'public',
179+
},
180+
{
181+
name: 'Search Trends (Google)',
182+
id: 'ght',
183+
tooltipText: 'Relative frequency of COVID-related Google searches',
184+
mapTitleText: 'Relative frequency of COVID-related Google searches',
185+
chartTitleText: 'Relative frequency of COVID-related Google searches',
186+
yAxis: 'Frequency (arbitrary scale)',
187+
format: 'raw',
188+
signal: 'smoothed_search',
189+
levels: ['msa', 'state'],
190+
type: 'public',
191+
},
156192
{
157193
name: 'Doctor Visits',
158194
id: 'doctor-visits',
@@ -165,18 +201,6 @@ export const sensorList = [
165201
levels: ['county', 'msa', 'state'],
166202
type: 'early',
167203
},
168-
{
169-
name: 'Hospital Admissions',
170-
id: 'hospital-admissions',
171-
tooltipText: 'Percentage of daily hospital admissions with COVID-19 associated diagnoses',
172-
mapTitleText: 'Percentage of daily hospital admissions with COVID-19 associated diagnoses',
173-
chartTitleText: 'Percentage of daily hospital admissions with COVID-19 associated diagnoses',
174-
yAxis: 'Percentage',
175-
format: 'percent',
176-
signal: 'smoothed_adj_covid19',
177-
levels: ['county', 'msa', 'state'],
178-
type: 'late',
179-
},
180204
{
181205
name: 'Symptoms (FB)',
182206
id: 'fb-survey',
@@ -204,42 +228,6 @@ export const sensorList = [
204228
levels: ['county', 'msa', 'state'],
205229
type: 'early',
206230
},
207-
{
208-
name: 'Away from Home 6hr+ (SG)',
209-
id: 'safegraph',
210-
tooltipText: 'Proportion of people spending 6 hours or more away from home, based on SafeGraph mobility data',
211-
mapTitleText: 'Proportion of people spending 6 hours or more away from home, based on SafeGraph mobility data',
212-
chartTitleText: 'Proportion of people spending 6 hours or more away from home, based on SafeGraph mobility data',
213-
yAxis: 'Proportion',
214-
format: 'raw',
215-
signal: 'full_time_work_prop',
216-
levels: ['county', 'state'],
217-
type: 'public',
218-
},
219-
{
220-
name: 'Away from Home 3-6hr (SG)',
221-
id: 'safegraph',
222-
tooltipText: 'Proportion of people spending 3-6 hours away from home, based on SafeGraph mobility data',
223-
mapTitleText: 'Proportion of people spending 3-6 hours away from home, based on SafeGraph mobility data',
224-
chartTitleText: 'Proportion of people spending 3-6 hours away from home, based on SafeGraph mobility data',
225-
yAxis: 'Proportion',
226-
format: 'raw',
227-
signal: 'part_time_work_prop',
228-
levels: ['county', 'state'],
229-
type: 'public',
230-
},
231-
{
232-
name: 'Search Trends (Google)',
233-
id: 'ght',
234-
tooltipText: 'Relative frequency of COVID-related Google searches',
235-
mapTitleText: 'Relative frequency of COVID-related Google searches',
236-
chartTitleText: 'Relative frequency of COVID-related Google searches',
237-
yAxis: 'Frequency (arbitrary scale)',
238-
format: 'raw',
239-
signal: 'smoothed_search',
240-
levels: ['msa', 'state'],
241-
type: 'public',
242-
},
243231
{
244232
name: 'Combined',
245233
id: 'indicator-combination',
@@ -252,6 +240,34 @@ export const sensorList = [
252240
levels: ['county', 'msa', 'state'],
253241
type: 'early',
254242
},
243+
{
244+
name: 'COVID-19 Antigen Tests (Quidel)',
245+
id: 'quidel',
246+
tooltipText: 'Daily test positivity rate for COVID-19 antigens, based on data provided by Quidel, Inc.',
247+
mapTitleText: 'Daily test positivity rate for COVID-19 antigens',
248+
chartTitleText: 'Daily test positivity rate for COVID-19 antigens',
249+
yAxis: 'Percentage',
250+
format: 'percent',
251+
signal: 'covid_ag_smoothed_pct_positive',
252+
minTime: 20200526,
253+
maxTime: 20200728,
254+
mean: 8.843758597635844,
255+
std: 6.666398435382195,
256+
levels: ['state', 'msa', 'hrr'],
257+
type: 'late',
258+
},
259+
{
260+
name: 'Hospital Admissions',
261+
id: 'hospital-admissions',
262+
tooltipText: 'Percentage of daily hospital admissions with COVID-19 associated diagnoses',
263+
mapTitleText: 'Percentage of daily hospital admissions with COVID-19 associated diagnoses',
264+
chartTitleText: 'Percentage of daily hospital admissions with COVID-19 associated diagnoses',
265+
yAxis: 'Percentage',
266+
format: 'percent',
267+
signal: 'smoothed_adj_covid19',
268+
levels: ['county', 'msa', 'state'],
269+
type: 'late',
270+
},
255271
{
256272
name: 'Cases',
257273
id: 'indicator-combination',

0 commit comments

Comments
 (0)