ggVisualizeRkiEvents: ggVisualizeRkiEvents Visualisation of the pre-processed RKI...

View source: R/ggVisualizeRkiEvents.R

ggVisualizeRkiEventsR Documentation

ggVisualizeRkiEvents Visualisation of the pre-processed RKI Data

Description

ggplot RKI data as result from getRkiData(babsim.hospital::rkidata)

Usage

ggVisualizeRkiEvents(
  data = getRkiData(babsim.hospital::rkidata),
  region = 5374,
  StartDate = "2020-10-01"
)

Arguments

data

rki data as preprocessed by getRkiData

region

Landkreis Id, e.g., 5374 oder Bundesland ID, e.g., 5.

StartDate

Start (Tag), e.g., '2020-05-01'

See Also

getRkiData

Examples

# use 10000 data points only:
data <- getRkiData(babsim.hospital::rkidata[1:10000, ])
p <- ggVisualizeRkiEvents(data = data, region = 0, StartDate = "2020-10-01")

babsim.hospital documentation built on May 30, 2022, 9:05 a.m.