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

Description Usage Arguments See Also Examples

View source: R/ggVisualizeRkiEvents.R

Description

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

Usage

1
2
3
4
5
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

1
2
3
# 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 Nov. 11, 2021, 1:06 a.m.