cci_us_vaccine_data: Vaccine allocations and administrations in the United States

View source: R/cci_us_vaccine_data.R

cci_us_vaccine_dataR Documentation

Vaccine allocations and administrations in the United States

Description

This data resource captures vaccine allocations, doses administered, and the number of people (as opposed to doses) to which they have been administered. As of December, 2020, this dataset is not complete.

Usage

cci_us_vaccine_data()

Value

A data.frame

Author(s)

Sean Davis seandavi@gmail.com

Source

See Also

Other data-import: acaps_government_measures_data(), acaps_secondary_impact_data(), apple_mobility_data(), beoutbreakprepared_data(), cdc_aggregated_projections(), cdc_excess_deaths(), 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()

Examples


vacc = cci_us_vaccine_data()
head(vacc)


us_pop = us_population_details(geography='state', product='population', 
  year=2019)
us_pop = us_pop[us_pop$variable=='POP',]
vac_pop = merge(us_pop,vacc,by.x="NAME",by.y="province_state")

if(require('ggplot2')) {
  vac_pop[vac_pop$vaccine_type=='All' & vac_pop$stage_one_doses<1e7,] %>%
  ggplot(aes(x=date,y=stage_one_doses/value*100000, color=NAME)) +
    geom_line() + 
    ggtitle("Number of first vaccine doses delivered by state",'Cumulative counts') +
    xlab("Date") +
    ylab("Number of people vaccinated/100k population")
}


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