add.event: Add an event to the timeline (for adding to plots etc)

Description Usage Arguments

View source: R/timeline.R

Description

Add key event to timeline .csv; these can be plotted against case & mortality trajectories for attribution

Usage

1
add.event(str, date = format(Sys.Date(), "%Y-%m-%d"), geoid = "UK")

Arguments

str

Short string describing event

date

Date on which event occurred, yyyy-mm-dd; default is system date

geoid

Country in which event is relevant; default is UK


ClairBee/covid documentation built on Jan. 28, 2021, 1:20 a.m.