Create a time series widget of Rt data
1 2 3 4 5 6 7 8 9 10 11 |
rtData |
data.frame, rt estimates in the format 'Source':'rtData':x, 'casesInfectionData':x, 'casesReportData':x, 'obsCasesData':x, ... |
activeArea |
character, the default area to plot. |
activeTime |
character, the default time window (defaults to 'all') |
runDate |
character, date of estimate run in the format ('YYYY-MM-DD') |
width |
integer, width in pixels |
elementId |
string, id of element |
dryRun |
Logical, defaults to FALSE. Should the function be tested without the widget being created. |
downloadUrl |
string, optional URL to download datasets |
ts_color_ref |
list, default reference for time series plots. See default_ts_colors for format. Useful for checking the integrity of input data. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.