Skip to content

Commit 121130a

Browse files
authored
Merge pull request #1722 from cmu-delphi/release/delphi-epidata-4.1.41
Release Delphi Epidata 4.1.41
2 parents 9e42dfe + 822a1da commit 121130a

46 files changed

Lines changed: 571 additions & 517 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 4.1.40
2+
current_version = 4.1.41
33
commit = False
44
tag = False
55

dev/local/setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = Delphi Development
3-
version = 4.1.40
3+
version = 4.1.41
44

55
[options]
66
packages =

docs/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ GEM
214214
jekyll-seo-tag (~> 2.1)
215215
minitest (5.17.0)
216216
multipart-post (2.1.1)
217-
nokogiri (1.18.9)
217+
nokogiri (1.19.1)
218218
mini_portile2 (~> 2.8.2)
219219
racc (~> 1.4)
220220
octokit (4.20.0)

docs/api/01meta.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,11 @@ pip install -e "git+https://github.com/cmu-delphi/epidatpy.git#egg=epidatpy"
129129

130130
```python
131131
# Import
132-
from epidatpy import CovidcastEpidata, EpiDataContext, EpiRange
132+
from epidatpy import EpiDataContext
133133
# Fetch data
134134
epidata = EpiDataContext()
135135
res = epidata.pub_meta()
136-
print(res)
136+
print(res()['epidata'])
137137
```
138138
</div>
139139

docs/api/cdc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,11 @@ pip install -e "git+https://github.com/cmu-delphi/epidatpy.git#egg=epidatpy"
137137

138138
```python
139139
# Import
140-
from epidatpy import CovidcastEpidata, EpiDataContext, EpiRange
140+
from epidatpy import EpiDataContext
141141
# Fetch data
142142
epidata = EpiDataContext()
143143
res = epidata.pvt_cdc(auth='auth_token', locations=['nat'], epiweeks=[201501])
144-
print(res)
144+
print(res.df())
145145
```
146146
</div>
147147

docs/api/covid_hosp.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ title: COVID-19 Reported Patient Impact and Hospital Capacity by State Timeserie
2323

2424
This dataset provides daily surveys of hospital COVID-19 capacity and patient impact, as reported by US hospitals. Data is acquired from HealthData.gov. It is a mirror of the "COVID-19 Reported Patient Impact and Hospital Capacity by State Timeseries" and "COVID-19 Reported Patient Impact and Hospital Capacity by State" datasets provided by HHS via healthdata.gov. The latter provides more frequent updates, so it is combined with the former to create a single dataset which is as recent as possible.
2525

26+
> **Note:** Administration of this dataset has moved to the National Healthcare Safety Network (NHSN). See [NHSN Respiratory Hospitalizations](covidcast-signals/nhsn.md) for the current data source.
27+
{: .note }
28+
2629
HHS performs up to four days of forward-fill for missing values in the
2730
[facility-level data](covid_hosp_facility.md) which are aggregated to make this
2831
state-level dataset. This sometimes results in repeated values in the state-level data.
@@ -240,11 +243,11 @@ pip install -e "git+https://github.com/cmu-delphi/epidatpy.git#egg=epidatpy"
240243

241244
```python
242245
# Import
243-
from epidatpy import CovidcastEpidata, EpiDataContext, EpiRange
246+
from epidatpy import EpiDataContext, EpiRange
244247
# Fetch data
245248
epidata = EpiDataContext()
246-
res = epidata.pub_covid_hosp(states="MA", dates=20200510)
247-
print(res)
249+
res = epidata.pub_covid_hosp_state_timeseries(states="MA", dates=20200510)
250+
print(res.df())
248251
```
249252
</div>
250253

docs/api/covid_hosp_facility.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ title: COVID-19 Reported Patient Impact and Hospital Capacity by Facility
2323

2424
This dataset provides facility-level daily surveys of hospital COVID-19 capacity and patient impact. Data is acquired from HealthData.gov. It is a mirror of the "COVID-19 Reported Patient Impact and Hospital Capacity by Facility" dataset provided by HHS via healthdata.gov.
2525

26+
> **Note:** Administration of this dataset has moved to the National Healthcare Safety Network (NHSN). See [NHSN Respiratory Hospitalizations](covidcast-signals/nhsn.md) for the current data source.
27+
{: .note }
28+
2629
HHS performs up to four days of forward-fill for missing values.
2730

2831
Starting October 1, 2022, some facilities are only required to report annually.
@@ -227,11 +230,11 @@ pip install -e "git+https://github.com/cmu-delphi/epidatpy.git#egg=epidatpy"
227230

228231
```python
229232
# Import
230-
from epidatpy import CovidcastEpidata, EpiDataContext, EpiRange
233+
from epidatpy import EpiDataContext, EpiRange
231234
# Fetch data
232235
epidata = EpiDataContext()
233236
res = epidata.pub_covid_hosp_facility(hospital_pks="390119", collection_weeks=EpiRange(20201201, 20201207))
234-
print(res)
237+
print(res.df())
235238
```
236239
</div>
237240

docs/api/covid_hosp_facility_lookup.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ title: COVID-19 Reported Patient Impact and Hospital Capacity - Facility lookup
2323
{: .no_toc}
2424

2525
This endpoint is a companion to the [`covid_hosp_facility` endpoint](covid_hosp_facility.md). It provides a way to find unique identifiers and other metadata for facilities of interest.
26+
27+
> **Note:** Administration of this dataset has moved to the National Healthcare Safety Network (NHSN). See [NHSN Respiratory Hospitalizations](covidcast-signals/nhsn.md) for the current data source.
28+
{: .note }
29+
2630
A total of 4922 facilities are included.
2731

2832
Metadata is derived from the "COVID-19 Reported Patient Impact and Hospital Capacity by Facility" dataset provided by HHS via healthdata.gov.
@@ -145,11 +149,11 @@ pip install -e "git+https://github.com/cmu-delphi/epidatpy.git#egg=epidatpy"
145149

146150
```python
147151
# Import
148-
from epidatpy import CovidcastEpidata, EpiDataContext, EpiRange
152+
from epidatpy import EpiDataContext
149153
# Fetch data
150154
epidata = EpiDataContext()
151155
res = epidata.pub_covid_hosp_facility_lookup(city="southlake")
152-
print(res)
156+
print(res.df())
153157
```
154158
</div>
155159

docs/api/covidcast-signals/chng.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ commercial purposes.
4848
| `smoothed_adj_outpatient_covid` | Same, but with systematic day-of-week effects removed; see [details below](#day-of-week-adjustment) <br/> **Earliest date available:** 2020-02-01 |
4949
| `smoothed_outpatient_cli` | Estimated percentage of outpatient doctor visits primarily about COVID-related symptoms, based on Change Healthcare claims data that has been de-identified in accordance with HIPAA privacy regulations, smoothed in time using a Gaussian linear smoother <br/> **Earliest date available:** 2020-02-01 |
5050
| `smoothed_adj_outpatient_cli` | Same, but with systematic day-of-week effects removed; see [details below](#day-of-week-adjustment) <br/> **Earliest date available:** 2020-02-01 |
51-
| `smoothed_outpatient_flu` | Estimated percentage of outpatient doctor visits with confirmed influenza, based on Change Healthcare claims data that has been de-identified in accordance with HIPAA privacy regulations, smoothed in time using a Gaussian linear smoother <br/> **Earliest issue available:** 2021-12-06 <br/> **Earliest date available:** 2020-02-01 |
52-
| `smoothed_adj_outpatient_flu` | Same, but with systematic day-of-week effects removed; see [details below](#day-of-week-adjustment) <br/> **Earliest issue available:** 2021-12-06 <br/> **Earliest date available:** 2020-02-01 |
51+
| `smoothed_outpatient_flu` | Estimated percentage of outpatient doctor visits with confirmed influenza, based on Change Healthcare claims data that has been de-identified in accordance with HIPAA privacy regulations, smoothed in time using a Gaussian linear smoother <br/> **Earliest date available:** 2020-02-01 |
52+
| `smoothed_adj_outpatient_flu` | Same, but with systematic day-of-week effects removed; see [details below](#day-of-week-adjustment) <br/> **Earliest date available:** 2020-02-01 |
5353

5454
## Table of Contents
5555
{: .no_toc .text-delta}

docs/api/covidcast-signals/google-symptoms.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ title: Google Symptom Search Trends
1313
| **Data Source** | Google |
1414
| **Geographic Levels** | National, Department of Health & Human Services (HHS) Regions, State, County, Hospital Referral Region (HRR), Metropolitan Statistical Area (MSA) (see [geography coding docs](../covidcast_geography.md)) |
1515
| **Temporal Granularity** | Daily (see [date format docs](../covidcast_times.md)) |
16-
| **Reporting Cadence** | Inactive - No longer updated after November 16th, 2025 |
16+
| **Reporting Cadence** | Inactive - No longer updated after November 16th, 2025 (see [Symptom sets](#symptom-sets) for details) |
1717
| **Date of last data revision:** | March 14th, 2025 (see [data revision docs](#changelog)) |
1818
| **Temporal Scope Start** | February 13th, 2020, with some variation depending on geographic area|
1919
| **License** | [Google Terms of Service](https://policies.google.com/terms) |
@@ -70,30 +70,30 @@ This symptom set can be used as a negative control.
7070

7171
Until January 20, 2022, we had separate signals for symptoms Anosmia, Ageusia, and their sum.
7272

73-
| Signal | Description |
74-
| --- | --- |
75-
| `s01_raw_search` | The average of Google search volume for related searches of symptom set _s01_, in an arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2017-08-15 |
76-
| `s01_smoothed_search` | The average of Google search volume for related searches of symptom set _s01_, in an arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2017-08-21 |
77-
| `s02_raw_search` | The average of Google search volume for related searches of symptom set _s02_, in an arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2017-08-15 |
78-
| `s02_smoothed_search` | The average of Google search volume for related searches of symptom set _s02_, in an arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2017-08-21 |
79-
| `s03_raw_search` | The average of Google search volume for related searches of symptom set _s03_, in an arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2017-08-15 |
80-
| `s03_smoothed_search` | The average of Google search volume for related searches of symptom set _s03_, in an arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2017-08-21 |
81-
| `s04_raw_search` | The average of Google search volume for related searches of symptom set _s04_, in an arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2017-08-15 |
82-
| `s04_smoothed_search` | The average of Google search volume for related searches of symptom set _s04_, in an arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2017-08-21 |
83-
| `s05_raw_search` | The average of Google search volume for related searches of symptom set _s05_, in an arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2017-08-15 |
84-
| `s05_smoothed_search` | The average of Google search volume for related searches of symptom set _s05_, in an arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2017-08-21 |
85-
| `s06_raw_search` | The average of Google search volume for related searches of symptom set _s06_, in an arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2017-08-15 |
86-
| `s06_smoothed_search` | The average of Google search volume for related searches of symptom set _s06_, in an arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2017-08-21 |
87-
| `s07_raw_search` | The average of Google search volume for related searches of symptom set _s07_, in an arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2017-08-15 |
88-
| `s07_smoothed_search` | The average of Google search volume for related searches of symptom set _s07_, in an arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2017-08-21 |
89-
| `scontrol_raw_search` | The average of Google search volume for related searches of symptom set _scontrol_, in an arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2017-08-15 |
90-
| `scontrol_smoothed_search` | The average of Google search volume for related searches of symptom set _scontrol_, in an arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2017-08-21 |
91-
| `anosmia_raw_search` | Google search volume for anosmia-related searches, in arbitrary units that are normalized for overall search users. _This signal is no longer updated as of 20 January, 2022._ <br/> **Earliest date available:** 2020-02-13 |
92-
| `anosmia_smoothed_search` | Google search volume for anosmia-related searches, in arbitrary units that are normalized for overall search users, smoothed by 7-day average. _This signal is no longer updated as of 20 January, 2022._ <br/> **Earliest date available:** 2020-02-20 |
93-
| `ageusia_raw_search` | Google search volume for ageusia-related searches, in arbitrary units that are normalized for overall search users. _This signal is no longer updated as of 20 January, 2022._ <br/> **Earliest date available:** 2020-02-13 |
94-
| `ageusia_smoothed_search` | Google search volume for ageusia-related searches, in arbitrary units that are normalized for overall search users, smoothed by 7-day average. _This signal is no longer updated as of 20 January, 2022._ <br/> **Earliest date available:** 2020-02-20 |
95-
| `sum_anosmia_ageusia_raw_search` | The sum of Google search volume for anosmia and ageusia related searches, in an arbitrary units that are normalized for overall search users. _This signal is no longer updated as of 20 January, 2022._ <br/> **Earliest date available:** 2020-02-13 |
96-
| `sum_anosmia_ageusia_smoothed_search` | The sum of Google search volume for anosmia and ageusia related searches, in an arbitrary units that are normalized for overall search users, smoothed by 7-day average. _This signal is no longer updated as of 20 January, 2022._ <br/> **Earliest date available:** 2020-02-20 |
73+
| Signal | Status | Description |
74+
| --- | --- | --- |
75+
| `s01_raw_search` | Ended Nov 2025 | The average of Google search volume for related searches of symptom set _s01_, in an arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2017-08-15 |
76+
| `s01_smoothed_search` | Ended Nov 2025 | The average of Google search volume for related searches of symptom set _s01_, in an arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2017-08-21 |
77+
| `s02_raw_search` | Ended Nov 2025 | The average of Google search volume for related searches of symptom set _s02_, in an arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2017-08-15 |
78+
| `s02_smoothed_search` | Ended Nov 2025 | The average of Google search volume for related searches of symptom set _s02_, in an arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2017-08-21 |
79+
| `s03_raw_search` | Ended Nov 2025 | The average of Google search volume for related searches of symptom set _s03_, in an arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2017-08-15 |
80+
| `s03_smoothed_search` | Ended Nov 2025 | The average of Google search volume for related searches of symptom set _s03_, in an arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2017-08-21 |
81+
| `s04_raw_search` | Ended Nov 2025 | The average of Google search volume for related searches of symptom set _s04_, in an arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2017-08-15 |
82+
| `s04_smoothed_search` | Ended Nov 2025 | The average of Google search volume for related searches of symptom set _s04_, in an arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2017-08-21 |
83+
| `s05_raw_search` | Ended Nov 2025 | The average of Google search volume for related searches of symptom set _s05_, in an arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2017-08-15 |
84+
| `s05_smoothed_search` | Ended Nov 2025 | The average of Google search volume for related searches of symptom set _s05_, in an arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2017-08-21 |
85+
| `s06_raw_search` | Ended Nov 2025 | The average of Google search volume for related searches of symptom set _s06_, in an arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2017-08-15 |
86+
| `s06_smoothed_search` | Ended Nov 2025 | The average of Google search volume for related searches of symptom set _s06_, in an arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2017-08-21 |
87+
| `s07_raw_search` | Ended Nov 2025 | The average of Google search volume for related searches of symptom set _s07_, in an arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2017-08-15 |
88+
| `s07_smoothed_search` | Ended Nov 2025 | The average of Google search volume for related searches of symptom set _s07_, in an arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2017-08-21 |
89+
| `scontrol_raw_search` | Ended Nov 2025 | The average of Google search volume for related searches of symptom set _scontrol_, in an arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2017-08-15 |
90+
| `scontrol_smoothed_search` | Ended Nov 2025 | The average of Google search volume for related searches of symptom set _scontrol_, in an arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2017-08-21 |
91+
| `anosmia_raw_search` | Ended Jan 2022 | Google search volume for anosmia-related searches, in arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2020-02-13 |
92+
| `anosmia_smoothed_search` | Ended Jan 2022 | Google search volume for anosmia-related searches, in arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2020-02-20 |
93+
| `ageusia_raw_search` | Ended Jan 2022 | Google search volume for ageusia-related searches, in arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2020-02-13 |
94+
| `ageusia_smoothed_search` | Ended Jan 2022 | Google search volume for ageusia-related searches, in arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2020-02-20 |
95+
| `sum_anosmia_ageusia_raw_search` | Ended Jan 2022 | The sum of Google search volume for anosmia and ageusia related searches, in an arbitrary units that are normalized for overall search users. <br/> **Earliest date available:** 2020-02-13 |
96+
| `sum_anosmia_ageusia_smoothed_search` | Ended Jan 2022 | The sum of Google search volume for anosmia and ageusia related searches, in an arbitrary units that are normalized for overall search users, smoothed by 7-day average. <br/> **Earliest date available:** 2020-02-20 |
9797

9898

9999
## Table of Contents

0 commit comments

Comments
 (0)