Description Usage Arguments Examples
Defaults to Italy, as this was our demonstration. Add a linear regression by specifying smooth=TRUE.
| 1 2 3 4 5 6 7 8 9 | 
| country | Text name of country (in owid frame) | 
| daystart | first day | 
| dayend | last day to plot | 
| pdf | TRUE will print value | 
| log | TRUE will take base 10 logarithm of y-axis values | 
| smooth | TRUE will try to fit linear model (use with logarithm) | 
| prefix | defaults to ”; a text value will be prefixed to PDF name after country_ name. | 
| 1 2 | corona_totals( country='Italy', daystart=60, dayend=76, log=TRUE, smooth=TRUE ) 
corona_totals(country='United Kingdom', log=TRUE, smooth=TRUE)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.