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/covid_hosp.md
+23-6
Original file line number
Diff line number
Diff line change
@@ -11,11 +11,22 @@ Hospital Capacity by State" datasets provided by the US Department of
11
11
Health & Human Services via healthdata.gov. The latter provides more frequent updates,
12
12
so it is combined with the former to create a single dataset which is as recent as possible.
13
13
14
+
HHS performs up to four days of forward-fill for missing values in the
15
+
[facility-level data](covid_hosp_facility.md) which are aggregated to make this
16
+
state-level dataset. This sometimes results in repeated values in the state-level data.
17
+
A sequence of two repeated values is extremely common, and longer sequences are rare.
18
+
Repeated values added in this way are sometimes updated if the underlying missing data can
19
+
be completed at a later date.
20
+
21
+
Starting October 1, 2022, some facilities are only required to report annually.
22
+
14
23
For more information, see the
15
24
[official description and data dictionary at healthdata.gov](https://healthdata.gov/Hospital/COVID-19-Reported-Patient-Impact-and-Hospital-Capa/g62h-syeh)
16
25
for "COVID-19 Reported Patient Impact and Hospital Capacity by State Timeseries,"
17
26
as well as the [official description](https://healthdata.gov/dataset/COVID-19-Reported-Patient-Impact-and-Hospital-Capa/6xf2-c3ie)
18
-
for "COVID-19 Reported Patient Impact and Hospital Capacity by State."
27
+
for "COVID-19 Reported Patient Impact and Hospital Capacity by State." The data elements,
28
+
cadence, and how the data are being used in the federal response are documented in
29
+
[a FAQ published by Health & Human Services](https://www.hhs.gov/sites/default/files/covid-19-faqs-hospitals-hospital-laboratory-acute-care-facility-data-reporting.pdf).
19
30
20
31
General topics not specific to any particular data source are discussed in the
21
32
[API overview](README.md). Such topics include:
@@ -65,7 +76,7 @@ If `issues` is not specified, then the most recent issue is used by default.
65
76
|`epidata[].state`| state pertaining to this row | string |
66
77
|`epidata[].date`| date pertaining to this row | integer |
67
78
|`epidata[].issue`| the date on which the dataset containing this row was published | integer |
68
-
|`epidata[].*`| see the [data dictionary](https://healthdata.gov/covid-19-reported-patient-impact-and-hospital-capacity-state-data-dictionary)||
79
+
|`epidata[].*`| see the [data dictionary](https://healthdata.gov/Hospital/COVID-19-Reported-Patient-Impact-and-Hospital-Capa/g62h-syeh). Last synced: 2021-10-21||
69
80
|`message`|`success` or error message | string |
70
81
71
82
# Example URLs
@@ -149,25 +160,31 @@ The following sample shows how to import the library and fetch MA on 2020-05-10
149
160
### Python
150
161
151
162
Optionally install the package using pip(env):
152
-
````bash
163
+
```bash
153
164
pip install delphi-epidata
154
-
````
165
+
```
155
166
156
167
Otherwise, place `delphi_epidata.py` from this repo next to your python script.
Copy file name to clipboardExpand all lines: docs/api/covid_hosp_facility.md
+9-2
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,16 @@ This data source is a mirror of the "COVID-19 Reported Patient Impact and
9
9
Hospital Capacity by Facility" dataset provided by the US Department of Health
10
10
& Human Services via healthdata.gov.
11
11
12
+
HHS performs up to four days of forward-fill for missing values.
13
+
14
+
Starting October 1, 2022, some facilities are only required to report annually.
15
+
12
16
See the
13
17
[official description and data dictionary at healthdata.gov](https://healthdata.gov/Hospital/COVID-19-Reported-Patient-Impact-and-Hospital-Capa/anag-cw7u)
14
-
for more information.
18
+
for more information. The data elements, cadence, and how the data are being used in the
19
+
federal response are documented in
20
+
[a FAQ published by Health & Human Services](https://www.hhs.gov/sites/default/files/covid-19-faqs-hospitals-hospital-laboratory-acute-care-facility-data-reporting.pdf).
21
+
15
22
16
23
General topics not specific to any particular data source are discussed in the
17
24
[API overview](README.md). Such topics include:
@@ -74,7 +81,7 @@ has been renamed here for clarity.
74
81
|`epidata[].hospital_pk`| facility identified by this row | string |
75
82
|`epidata[].collection_week`| Friday's date in the week pertaining to this row | integer |
76
83
|`epidata[].publication_date`| the date on which the dataset containing this row was published | integer |
77
-
|`epidata[].*`| see the [data dictionary](https://healthdata.gov/covid-19-reported-patient-impact-and-hospital-capacity-facility-data-dictionary)||
84
+
|`epidata[].*`| see the [data dictionary](https://healthdata.gov/Hospital/COVID-19-Reported-Patient-Impact-and-Hospital-Capa/anag-cw7u)||
0 commit comments