getRkiData: getRkiData

View source: R/getRkiData.R

getRkiDataR 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, ])

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