Skip to content

Commit

Permalink
HealthData.gov discontinued a bunch of the hospital usage datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
sacundim committed May 13, 2024
1 parent 567a211 commit ec53c2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
13 changes: 4 additions & 9 deletions athena-dbt/models/hhs/sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,21 @@ sources:
- name: reported_hospital_utilization_timeseries_v2
- name: reported_hospital_utilization_timeseries_v3
- name: reported_hospital_utilization_timeseries_v4
freshness:
error_after: { count: 7, period: day }

- name: reported_hospital_utilization_v2
- name: reported_hospital_utilization_v3
- name: reported_hospital_utilization_v4
freshness:
error_after: { count: 7, period: day }

- name: reported_patient_impact_hospital_capacity_timeseries_v3
- name: reported_patient_impact_hospital_capacity_timeseries_v4
freshness:
error_after: { count: 7, period: day }

- name: hospital_facilities_v2
identifier: reported_hospital_capacity_admissions_facility_level_weekly_average_timeseries_v2
- name: hospital_facilities_v3
identifier: reported_hospital_capacity_admissions_facility_level_weekly_average_timeseries_v3
- name: hospital_facilities_v4
identifier: reported_hospital_capacity_admissions_facility_level_weekly_average_timeseries_v4
freshness:
warn_after: { count: 7, period: day }
error_after: { count: 9, period: day }

- name: community_profile_report_county_v2
- name: community_profile_report_county_v3
- name: diagnostic_lab_testing_v2
Expand Down
5 changes: 0 additions & 5 deletions downloader/src/covid_19_puerto_rico_downloader/hhs.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,7 @@ def healthdata_tasks(client, config):
"""Datasets hosted at healthdata.gov API endpoints"""
datasets = {
# Put larger ones earlier
'reported_hospital_capacity_admissions_facility_level_weekly_average_timeseries_raw': 'uqq2-txqb',
'reported_hospital_capacity_admissions_facility_level_weekly_average_timeseries': 'anag-cw7u',
'covid-19_diagnostic_lab_testing': 'j8mb-icvb',
'reported_hospital_utilization': '6xf2-c3ie',
'reported_hospital_utilization_timeseries': 'g62h-syeh',
'reported_patient_impact_hospital_capacity_timeseries': 'sgxm-t72h',
}
return [
HHSTask(dataset, id, client, config)
Expand Down

0 comments on commit ec53c2c

Please sign in to comment.