getRkiData: getRkiData

Description Usage Arguments Value Examples

View source: R/getRkiData.R

Description

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

Usage

1

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

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

babsim.hospital documentation built on Nov. 11, 2021, 1:06 a.m.