powered by
Combine information from the regionTrain and the regionPopulation data sets.
regionTrain
regionPopulation
preprocessInputData(trainData, populationData)
data frame
A large list (313 elements, 1.3 MB) containing the following information (3 lists) for each of the 313 regions:
date
Date
confirmed
num Number of confirmed cases (cumulative)
fatalities
num Number of fatalities (cumulative)
Resulting data set can be used as input for the COVID-19 simulations of the tuneRegionModel function.
tuneRegionModel
# NOT RUN { x <- preprocessInputData(regionTrain, regionPopulation) ## Plot confirmed cases from the first country (Afghanistan): p <- plot(x[[1]]$date, x[[1]]$confirmed) # }
Run the code above in your browser using DataLab