Skip to content

Commit 94f75d5

Browse files
Jingjing TangJingjing Tang
Jingjing Tang
authored and
Jingjing Tang
committed
move global constants to another script
1 parent 75d299c commit 94f75d5

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
"""Registry for constants"""
2+
# global constants
3+
METRICS = [
4+
"covid_deaths", "total_deaths", "percent_of_expected_deaths",
5+
"pneumonia_deaths", "pneumonia_and_covid_deaths", "influenza_deaths",
6+
"pneumonia_influenza_or_covid_19_deaths"
7+
]
8+
SENSOR_NAME_MAP = {
9+
"covid_deaths": "deaths_covid_incidence",
10+
"total_deaths": "deaths_allcause_incidence",
11+
"percent_of_expected_deaths": "deaths_percent_of_expected",
12+
"pneumonia_deaths": "deaths_pneumonia_notflu_incidence",
13+
"pneumonia_and_covid_deaths": "deaths_covid_and_pneumonia_notflu_incidence",
14+
"influenza_deaths": "deaths_flu_incidence",
15+
"pneumonia_influenza_or_covid_19_deaths": "deaths_pneumonia_or_flu_or_covid_incidence"
16+
}
17+
SENSORS = [
18+
"num",
19+
"prop"
20+
]
21+
INCIDENCE_BASE = 100000
22+
GEO_RES = "state"

0 commit comments

Comments
 (0)