File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
_delphi_utils_python/delphi_utils Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 12
12
from .geomap import GeoMapper
13
13
from .smooth import Smoother
14
14
from .signal import add_prefix
15
+ from .nancodes import Nans
15
16
16
17
__version__ = "0.1.0"
Original file line number Diff line number Diff line change
1
+ """Unified not-a-number codes for the indicators.
2
+
3
+ Currently requires a manual sync between the covidcast-indicators
4
+ and the delphi-epidata repo.
5
+ * in covidcast-indicators: _delphi_utils_python/delphi_utils
6
+ * in delphi-epidata: src/acquisition/covidcast
7
+ """
8
+
9
+ from enum import IntEnum
10
+
11
+ class Nans (IntEnum ):
12
+ """An enum of not-a-number codes for the indicators."""
13
+
14
+ NOT_MISSING = 0
15
+ NOT_APPLICABLE = 1
16
+ REGION_EXCEPTION = 2
17
+ PRIVACY = 3
18
+ DELETED = 4
19
+ UNKNOWN = 5
You can’t perform that action at this time.
0 commit comments