cdc_excess_deaths: US CDC excess deaths by week from 2018 to present

View source: R/cdc_excess_deaths.R

cdc_excess_deathsR Documentation

US CDC excess deaths by week from 2018 to present

Description

Understanding the potentially unmeasured death toll due to COVID-19 starts with understanding the expected vs observed death rates over time. This dataset presents observed and expected deaths by state by week of year for 2018 to present. In addition, the dataset can be broken down into all cause death and that attributable to COVID-19 based on reported COVID-19 deaths.

Usage

cdc_excess_deaths()

Details

Estimates of excess deaths can provide information about the burden of mortality potentially related to COVID-19, beyond the number of deaths that are directly attributed to COVID-19. Excess deaths are typically defined as the difference between observed numbers of deaths and expected numbers. This visualization provides weekly data on excess deaths by jurisdiction of occurrence. Counts of deaths in more recent weeks are compared with historical trends to determine whether the number of deaths is significantly higher than expected.

Estimates of excess deaths can be calculated in a variety of ways, and will vary depending on the methodology and assumptions about how many deaths are expected to occur. Estimates of excess deaths presented in this webpage were calculated using Farrington surveillance algorithms (1). For each jurisdiction, a model is used to generate a set of expected counts, and the upper bound of the 95% Confidence Intervals (95% CI) of these expected counts is used as a threshold to estimate excess deaths. Observed counts are compared to these upper bound estimates to determine whether a significant increase in deaths has occurred. Provisional counts are weighted to account for potential underreporting in the most recent weeks. However, data for the most recent week(s) are still likely to be incomplete. Only about 60% of deaths are reported within 10 days of the date of death, and there is considerable variation by jurisdiction. More detail about the methods, weighting, data, and limitations can be found in the Technical Notes.

Value

a data.frame

Author(s)

Sean Davis seandavi@gmail.com

Source

References

See Also

Other data-import: acaps_government_measures_data(), acaps_secondary_impact_data(), apple_mobility_data(), beoutbreakprepared_data(), cci_us_vaccine_data(), cdc_aggregated_projections(), cdc_social_vulnerability_index(), coronadatascraper_data(), coronanet_government_response_data(), cov_glue_lineage_data(), cov_glue_newick_data(), cov_glue_snp_lineage(), covidtracker_data(), descartes_mobility_data(), ecdc_data(), econ_tracker_consumer_spending, econ_tracker_employment, econ_tracker_unemp_data, economist_excess_deaths(), financial_times_excess_deaths(), google_mobility_data(), government_policy_timeline(), jhu_data(), jhu_us_data(), kff_icu_beds(), nytimes_county_data(), oecd_unemployment_data(), owid_data(), param_estimates_published(), test_and_trace_data(), us_county_geo_details(), us_county_health_rankings(), us_healthcare_capacity(), us_hospital_details(), us_state_distancing_policy(), usa_facts_data(), who_cases()

Other excess-deaths: economist_excess_deaths(), financial_times_excess_deaths()

Examples

cdcdeaths = cdc_excess_deaths()
head(cdcdeaths)
colnames(cdcdeaths)
table(cdcdeaths$outcome)


# Examine excess deaths in three states
library(ggplot2)
library(dplyr)
interesting_states = c('Ohio', 'Pennsylvania', 'California')
ggplot(cdcdeaths %>% dplyr::filter(type=="Predicted (weighted)" &
                            outcome=="All causes" &
                            state %in% interesting_states),
        aes(x=date,y=deaths)) +
    geom_point(aes(color=deaths>upper_bound_threshold)) +
    geom_line(aes(x=date,y=upper_bound_threshold)) +
    facet_grid(rows=vars(state)) +
    ggtitle('Excess deaths over time')


seandavi/sars2pack documentation built on May 13, 2022, 3:41 p.m.