Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.3.1
current_version = 0.3.2
commit = False
tag = False

Expand Down
27 changes: 27 additions & 0 deletions docs/api/covidcast-signals/indicator-combination-inactive.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,3 +200,30 @@ The resampling method for each input source is as follows:
the reported proportion and sample size.
* *Google Health Trends:* Because we do not have access to the sampling
distribution, we do not resample this signal.

## Compositional Signals: Confirmed Cases and Deaths

* **Earliest issue available:** 7 July 2020
* **Number of data revisions since 19 May 2020:** 1
* **Date of last change:** [12 October 2020](../covidcast_changelog.md#indicator-combination)
* **Available for:** county, msa, hrr, state (see [geography coding docs](../covidcast_geography.md))
* **Time type:** day (see [date format docs](../covidcast_times.md))

These signals combine the cases and deaths data from JHU and USA Facts. This is
a straight composition: the signals below use the [JHU signal data](jhu-csse.md)
for Puerto Rico, and the [USA Facts signal data](usa-facts.md) everywhere else.
Consult each signal's documentation for information about geographic reporting,
backfill, and other limitations.

These signals were updated daily until November 18, 2021.

| Signal | 7-day average signal | Description |
| --- | --- | --- |
| `confirmed_cumulative_num` | | Cumulative number of confirmed COVID-19 cases <br/> **Earliest date available:** 2020-02-20 |
| `confirmed_cumulative_prop` | | Cumulative number of confirmed COVID-19 cases per 100,000 population <br/> **Earliest date available:** 2020-02-20 |
| `confirmed_incidence_num` | `confirmed_7dav_incidence_num` | Number of new confirmed COVID-19 cases, daily <br/> **Earliest date available:** 2020-02-20 |
| `confirmed_incidence_prop` | `confirmed_7dav_incidence_prop` | Number of new confirmed COVID-19 cases per 100,000 population, daily <br/> **Earliest date available:** 2020-02-20 |
| `deaths_cumulative_num` | | Cumulative number of confirmed deaths due to COVID-19 <br/> **Earliest date available:** 2020-02-20 |
| `deaths_cumulative_prop` | | Cumulative number of confirmed due to COVID-19, per 100,000 population <br/> **Earliest date available:** 2020-02-20 |
| `deaths_incidence_num` | `deaths_7dav_incidence_num` | Number of new confirmed deaths due to COVID-19, daily <br/> **Earliest date available:** 2020-02-20 |
| `deaths_incidence_prop` | `deaths_7dav_incidence_prop` | Number of new confirmed deaths due to COVID-19 per 100,000 population, daily <br/> **Earliest date available:** 2020-02-20 |
50 changes: 0 additions & 50 deletions docs/api/covidcast-signals/indicator-combination.md

This file was deleted.

13 changes: 7 additions & 6 deletions docs/api/covidcast-signals/nchs-mortality.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,13 @@ There is a lag in time between when the death occurred and when the death
certificate is completed, submitted to NCHS, and processed for reporting
purposes. The death counts for recent weeks are continually revised and may
increase or decrease as new and updated death certificate data are received from
the states by NCHS. This delay can range from 1 to 8 weeks or even more.
Some states report deaths on a daily basis, while other states report deaths weekly
or monthly. State vital record reporting may also be affected or delayed by
COVID-19 related response activities which make death counts not comparable
across states. We check for updates reported by NCHS every weekday but will
report the signals weekly (on Monday).
the states by NCHS. This delay can range from 1 to 8 weeks or even more; review
[this detailed analysis of reporting delays](https://doi.org/10.1057/s41271-021-00309-7)
for more information. Some states report deaths on a daily basis, while other
states report deaths weekly or monthly. State vital record reporting may also be
affected or delayed by COVID-19 related response activities which make death
counts not comparable across states. We check for updates reported by NCHS every
weekday but will report the signals weekly (on Monday).

## Source and Licensing

Expand Down
4 changes: 2 additions & 2 deletions docs/api/covidcast_licensing.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Attribution license](https://creativecommons.org/licenses/by/4.0/):

* [Doctor Visits](covidcast-signals/doctor-visits.md)
* [Hospital Admissions](covidcast-signals/hospital-admissions.md)
* [Indicator Combination](covidcast-signals/indicator-combination.md): signals
* [Indicator Combination](covidcast-signals/indicator-combination-inactive.md): signals
with names beginning `nmf_*`
* [Quidel](covidcast-signals/quidel.md)
* [Symptom Surveys](covidcast-signals/fb-survey.md)
Expand All @@ -54,7 +54,7 @@ These data streams are essentially mirrors of their respective sources, and are
published here subject to the original license provided by the source:

* [Google Health Trends](covidcast-signals/ght.md)
* [Indicator Combination](covidcast-signals/indicator-combination.md): cases and
* [Indicator Combination](covidcast-signals/indicator-combination-inactive.md): cases and
deaths signals
* [JHU Cases and Deaths](covidcast-signals/jhu-csse.md)
* [SafeGraph Mobility](covidcast-signals/safegraph.md)
Expand Down
8 changes: 4 additions & 4 deletions docs/api/covidcast_signals.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ tool](https://delphi.cmu.edu/covidcast/export/):
| Early Indicators | COVID-Like Symptoms in Community | [`fb-survey`](covidcast-signals/fb-survey.md) | `smoothed_hh_cmnty_cli` |
| Late Indicators | COVID Antigen Test Positivity (Quidel) | [`quidel`](covidcast-signals/quidel.md) | `covid_ag_smoothed_pct_positive` |
| Late Indicators | Claims-Based COVID Hospital Admissions | [`hospital-admissions`](covidcast-signals/hospital-admissions.md) | `smoothed_adj_covid19_from_claims` |
| Late Indicators | Cases | [`indicator-combination`](covidcast-signals/indicator-combination.md) | `confirmed_7dav_incidence_num` |
| Late Indicators | Cases per 100,000 People | [`indicator-combination`](covidcast-signals/indicator-combination.md) | `confirmed_7dav_incidence_prop` |
| Late Indicators | Deaths | [`indicator-combination`](covidcast-signals/indicator-combination.md) | `deaths_7dav_incidence_num` |
| Late Indicators | Deaths per 100,000 People | [`indicator-combination`](covidcast-signals/indicator-combination.md) | `deaths_7dav_incidence_prop` |
| Late Indicators | Cases | [`jhu-csse`](covidcast-signals/jhu-csse.md) | `confirmed_7dav_incidence_num` |
| Late Indicators | Cases per 100,000 People | [`jhu-csse`](covidcast-signals/jhu-csse.md) | `confirmed_7dav_incidence_prop` |
| Late Indicators | Deaths | [`jhu-csse`](covidcast-signals/jhu-csse.md) | `deaths_7dav_incidence_num` |
| Late Indicators | Deaths per 100,000 People | [`jhu-csse`](covidcast-signals/jhu-csse.md) | `deaths_7dav_incidence_prop` |

## All Available Sources and Signals

Expand Down
2 changes: 1 addition & 1 deletion src/client/delphi_epidata.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Epidata <- (function() {
# API base url
BASE_URL <- 'https://delphi.cmu.edu/epidata/api.php'

client_version <- '0.3.1'
client_version <- '0.3.2'

# Helper function to cast values and/or ranges to strings
.listitem <- function(value) {
Expand Down
2 changes: 1 addition & 1 deletion src/client/delphi_epidata.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}
})(this, function (exports, fetchImpl, jQuery) {
const BASE_URL = "https://delphi.cmu.edu/epidata/";
const client_version = "0.3.1";
const client_version = "0.3.2";

// Helper function to cast values and/or ranges to strings
function _listitem(value) {
Expand Down
2 changes: 1 addition & 1 deletion src/client/packaging/npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "delphi_epidata",
"description": "Delphi Epidata API Client",
"authors": "Delphi Group",
"version": "0.3.1",
"version": "0.3.2",
"license": "MIT",
"homepage": "https://github.com/cmu-delphi/delphi-epidata",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion src/client/packaging/pypi/delphi_epidata/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .delphi_epidata import Epidata

name = 'delphi_epidata'
__version__ = '0.3.1'
__version__ = '0.3.2'
2 changes: 1 addition & 1 deletion src/client/packaging/pypi/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="delphi_epidata",
version="0.3.1",
version="0.3.2",
author="David Farrow",
author_email="[email protected]",
description="A programmatic interface to Delphi's Epidata API.",
Expand Down
2 changes: 1 addition & 1 deletion src/server/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

load_dotenv()

VERSION = "0.3.1"
VERSION = "0.3.2"

MAX_RESULTS = int(10e6)
MAX_COMPATIBILITY_RESULTS = int(3650)
Expand Down
10 changes: 9 additions & 1 deletion src/server/_printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,16 @@ def print_non_standard(data):
format = request.values.get("format", "classic")
if format == "json":
return jsonify(data)

if not data:
message = "no results"
result = -2
else:
return jsonify(dict(result=1, message="success", epidata=data))
message = "success"
result = 1
if result == -1 and is_compatibility_mode():
return jsonify(dict(result=result, message=message))
return jsonify(dict(result=result, message=message, epidata=data))


class APrinter:
Expand Down
Loading