add_covid_events: Add a Set of Events From the Shelby County COVID Response to...

View source: R/plot.R

add_covid_eventsR Documentation

Add a Set of Events From the Shelby County COVID Response to a Plot

Description

add_covid_events() adds a set of events from the Shelby County COVID-19 response to a ggplot object.

Usage

add_covid_events(gg_obj, lab_y, ...)

Arguments

gg_obj

A ggplot object

lab_y

The y coordinate of the event label

...

Additional arguments to pass to add_event()

Value

The modified ggplot object

Current Events

  • 2020-03-24: Safer-at-Home

  • 2020-05-04: Phase 1 Reopen

  • 2020-05-18: Phase 2 Reopen

  • 2020-07-08: Bars Close, Mask Directive

  • 2020-09-22: Bars Reopen

  • 2020-09-29: End State Restrictions

  • 2020-11-23: Face Mask Order 3, Dining Restrictions

  • 2020-12-26: Face Mask Order 4, Safer-at-Home

  • 2021-01-23: Safer-at-Home Lifted

  • 2021-02-20: Broaden Safety Measures

  • 2021-03-20: Lift More Restrictions

  • 2021-04-17: Emphasize Vaccination


jesse-smith/coviData documentation built on Jan. 14, 2023, 11:08 a.m.