powered by
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)
data.frame of downloaded rki data before preprocessing
a data.frame of arrival times suited for babsimHospital
# NOT RUN { arrivals <- rkiToBabsimArrivals(rkidata[1:100, ]) min(as.Date(rkidata$Refdatum)) + max(arrivals) # }
Run the code above in your browser using DataLab