How full are ICUs summed by metropolitan area?

How full is the ICU at all reporting hospitals overall in metropolitan areas with more than 200 ICU beds? Enter the state's two digit postal code below and hit 'Run SQL'. To see hospital level detail for this metro area, copy the cbsacode and paste it into this query

Note that this query leaves out hospitals averaging less than 4 ICU COVID beds weekly, or that don't report their weekly staffed bed count, so consider the results an estimate only. This query also ignores lines where this data is blank.

The fractions are calculated as:
icu_occupancy_fraction = staffed_adult_icu_bed_occupancy_7_day_avg /total_staffed_adult_icu_beds_7_day_avg
How full is the ICU in terms of confirmed or suspected COVID patients? This is calculated as:
covid_icu_fraction = staffed_icu_adult_patients_confirmed_and_suspected_covid_7_day_avg /total_staffed_adult_icu_beds_7_day_avg

This database can be queried directly using Structured Query Language (SQL) supported by SQLite. For more on that syntax, see here. Read more about datasette, the technology powering these interactive queries.

Custom SQL query returning 1 row (hide)

select  cbsatitle as metro_area, cbsacode, count(*) as num_hospitals, (0.0 + sum(staffed_icu_adult_patients_confirmed_and_suspected_covid_7_day_avg))/sum(total_staffed_adult_icu_beds_7_day_avg) as covid_icu_fraction, (0.0 + sum(staffed_adult_icu_bed_occupancy_7_day_avg))/sum(total_staffed_adult_icu_beds_7_day_avg) as icu_occupancy_fraction, sum(total_staffed_adult_icu_beds_7_day_avg) as total_staffed_icu_beds, sum(staffed_icu_adult_patients_confirmed_and_suspected_covid_7_day_avg) as total_covid_icu_beds from   hosp_capacity left join cbsaxfips on hosp_capacity.fips_code = cbsaxfips.fips_code where  not total_staffed_adult_icu_beds_7_day_avg = '' and staffed_icu_adult_patients_confirmed_and_suspected_covid_7_day_avg > 0 and staffed_adult_icu_bed_occupancy_7_day_avg > 0 and staffed_adult_icu_bed_occupancy_7_day_avg > 0 and collection_week = '2021/12/31' group by cbsacode, cbsatitle having sum(total_staffed_adult_icu_beds_7_day_avg) > 200 order by covid_icu_fraction desc;

Edit SQL

    1596 0.2897866674765 0.8299493481106622 62564.30000000005 18130.300000000003
Powered by Datasette · Query took 231.305ms