Description Usage Arguments Value Examples
View source: R/count_metrics.R
Shape EM Resource summary data for metric calculations
1 | shape_hospital_data(hosp_df)
|
hosp_df |
data.frame output by |
a list of data.frames. The "summary" data.frame has one row per county, state, and HERC regions with the following columns
Date hospital report was run
Are row values summary or daily values
FIPS Code and/or region identifier
Name of geography
2018 Population Numbers pulled from WISH
Hospitalized Covid cases for current 7 day period
Hospitalized Covid cases for prior 7 day period
ICU Covid cases for current 7 day period
ICU Covid cases for prior 7 day period
End date for current 7 day period
End date for prior 7 day period
and the "daily" data.frame has one row per state and HERC region (not county) per day for the two week period with the following columns
Name of geography
Date hospital information was reported
Type of geography - all missing should be removed
FIPS Code and/or region identifier
WISH 2018 population figures
Are row values summary or daily values
Total Beds (ICU, Intermediate, Med/Surg, Neg. Flow)
Total Immediate Beds Available (ICU, Intermediate, Med/Surg, Neg. Flow)
Total ICU Beds
Immediate ICU Beds Available
Current Number of Ventilated Patients (Induvated and mechanically ventilated)
Total rented/owned/demoed general use ventilators on hand
Immediate Intermediate Care Beds Available
Immediate Negative Airflow Isolation Beds Available
Immediate Medical/Surgical Beds Available
Hosp_beds_IBA / Hosp_totalbeds
Hosp_ICU_IBA / Hosp_ICU_IBA
Hosp_num_px_vent / Hosp_total_vents
Date hospital report was run
1 2 3 4 | ## Not run:
#Add examples here
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.