Description Usage Arguments Value
This function takes a inputs for geography and timelines and does three main things: (1) It loads the baseline data. (2) It loads the current prediction models. (3) It creates predictions for the specified geography and timelines. Accomplished via other function calls.
1 | create_pred(geography, begMonth, endMonth, dt_center = "2012-01-01")
|
geography |
Character scalar. In: c("usa", "can", "jap", "lt", "uk", "ger", "fra", "cmg", "iEUR") |
begMonth |
The beginning month for which to create a dataset from. Format= "YYYY-MM-DD" |
endMonth |
The ending month for which to create a dataset from. Format= "YYYY-MM-DD" |
dt_center |
The centering date. Should be "2012-01-01" unless models are refreshed. |
A list
with two elements, each of which are list
s. Firstly, a list
of the geography's
baseline data. Second, a list
of predictions for each model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.