View source: R/rkiToBabsimArrivals.R
rkiToBabsimArrivals | R Documentation |
Transforms the freshly downloaded rki data into the babsim fitting format of arrival times. Also imputes mising dates as zero frequency in the data.
rkiToBabsimArrivals(rki)
rki |
data.frame of downloaded rki data before preprocessing |
a data.frame of arrival times suited for babsimHospital
arrivals <- rkiToBabsimArrivals(rkidata[1:100, ]) min(as.Date(rkidata$Refdatum)) + max(arrivals)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.