Description Usage Arguments Examples
Makes a plot of positives, active and recovered versus time. New cases per day is added as a line. If decorate, then mitigations will be shown (if available). Plot is shown for a specific region (state, country, province, etc). Use regions() to see what locations are available. See ?getdatajhu, ?getdataitaly, ?getdatastates to see the data sources.
1 |
region |
Name of a region in the region (location) column of the dataset (dataset$region). If it is not passed in, all regions will be shown. Might be country, state, or province. Use regions() to see what is available. You can pass in multiple regions. |
decorate |
Mitigation times are shown if available in the mitigations data. |
data |
Name of a data set. states, world or italy. You can pass in merged or subsetted versions of these too. |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.