getRkiData {babsim.hospital}R Documentation

getRkiData

Description

Transforms the freshly downloaded rki data into the babsim data frame. Also imputes mising dates as zero frequency in the data.

Usage

getRkiData(rki)

Arguments

rki

data.frame of downloaded rki data before preprocessing

Value

a data.frame of aggregated data

Day

Date, format: '2020-01-01' '2020-01-02' '2020-01-03' '2020-01-04' ...

...

...

Examples


data <- getRkiData(rkidata[1:100, ])

[Package babsim.hospital version 11.8.4 Index]