ggVisualizeRkiExtendedDataCalculation {babsim.hospital}R Documentation

Data precalculation for ggVisualizeRkiExtended

Description

Data for ggplot RKI data as result from extendRki

Usage

ggVisualizeRkiExtendedDataCalculation(
  data = extendRki(),
  region = 5374,
  StartDate = "2020-10-01",
  simplify = TRUE
)

Arguments

data

rki data as preprocessed by extendRki

region

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

StartDate

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

simplify

logical. Simplify presentation, Default: TRUE.

See Also

rkidata

Examples

data <- getRkiData(babsim.hospital::rkidata[1:10000, ])
# data size sufficient?: 
if (dim(data)[1]> 1e6){
p <- ggVisualizeRkiExtended(
  data = extendRki(data),
  region = 5374, StartDate = "2020-10-01"
)
}

[Package babsim.hospital version 11.8.4 Index]