You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/covidcast.md
+3
Original file line number
Diff line number
Diff line change
@@ -168,6 +168,9 @@ require knowing when we last confirmed an unchanged value, please get in touch.
168
168
|`epidata[].sample_size`| number of "data points" used in computing the statistic, `null` when not applicable | float |
169
169
|`epidata[].issue`| time unit (e.g. date) when this statistic was published | integer |
170
170
|`epidata[].lag`| time delta (e.g. days) between when the underlying events happened and when this statistic was published | integer |
171
+
|`epidata[].missing_value`| an integer code that is zero when the `value` field is present and non-zero when the data is missing (see [missing codes](missing_codes.md)) | integer |
172
+
|`epidata[].missing_stderr`| an integer code that is zero when the `stderr` field is present and non-zero when the data is missing (see [missing codes](missing_codes.md)) | integer |
173
+
|`epidata[].missing_sample_size`| an integer code that is zero when the `sample_size` field is present and non-zero when the data is missing (see [missing codes](missing_codes.md)) | integer |
171
174
|`message`|`success` or error message | string |
172
175
173
176
**Note:**`result` code 2, "too many results", means that the number of results
Occasionally, data will be missing from our database and will be explicitly coded as NaN.
10
+
In these cases, we strive to supply our best-known reason for the value to be missing by
11
+
providing an integer code in the corresponding `missing_` column (i.e. `missing_value`
12
+
corresponds to the `value` column). The integer codes are as follows
13
+
14
+
| Code | Name | Description |
15
+
| --- | --- | --- |
16
+
| 0 | DEFAULT | This is the default value for when the field is not missing. |
17
+
| 1 | NOT APPLICABLE | This value is used when the field is not expected to have a value (e.g. stderr for a signal that is not estimated from a sample). |
18
+
| 2 | REGION EXCEPTION | This value is used when the field is not reported because the particular indicator does not serve the geographical region requested. |
19
+
| 3 | PRIVACY | This value is used when the field has been censored for data privacy reasons. This could be due to reasons such as low sample sizes or simply a requirement from our data partners. |
20
+
| 4 | DELETED | This value is used when the field was present in previous issues, but is no longer reported. Deletions can arise due to bug fixes, changing censorship requirements, or data corrections from the source. |
21
+
| 5 | UNKNOWN | This value is used when the field is missing, but does not fall into any of the categories above. |
22
+
23
+
These codes are supplied as part of the `delphi_utils` Python library (see [here](https://pypi.org/project/delphi-utils/)).
0 commit comments