rkiToBabsimArrivals {babsim.hospital}R Documentation

rkiToBabsimArrivals

Description

Transforms the freshly downloaded rki data into the babsim fitting format of arrival times. Also imputes mising dates as zero frequency in the data.

Usage

rkiToBabsimArrivals(rki)

Arguments

rki

data.frame of downloaded rki data before preprocessing

Value

a data.frame of arrival times suited for babsimHospital

Examples


arrivals <- rkiToBabsimArrivals(rkidata[1:100, ])
min(as.Date(rkidata$Refdatum)) + max(arrivals)

[Package babsim.hospital version 11.8.4 Index]