vac_count: Count Vaccinations by Dose

View source: R/vac_count.R

vac_countR Documentation

Count Vaccinations by Dose

Description

Count Vaccinations by Dose

Usage

vac_count(
  .data = coviData::vac_prep(coviData::read_vac(date = date)),
  by = c("person", "dose"),
  resident_only = TRUE,
  filter_2nd_dose = TRUE,
  date = NULL
)

Arguments

.data

Vaccination data; default loads and parses the latest file

by

Should counts be by person, or by dose?

resident_only

Should counts include Shelby County residents only? If so, persons of unknown residency will still be included.

filter_2nd_dose

Should 2nd doses of single-dose vaccines be filtered out? For backwards compatibility only- will be removed in the future.

date

The date of the vaccination data to load; defaults to latest data

Value

A tibble with columns dose_count and n


jesse-smith/covidReport documentation built on Aug. 3, 2024, 4:52 p.m.