View source: R/gs_timeseries.R
| gs_timeseries | R Documentation |
Create Timeseries for Google Sheets Data
gs_timeseries(
inv = process_inv(read_inv(date = date)),
pcr = process_pcr(read_pcr(date = date), inv = inv),
delay = 5L,
date = NULL
)
inv |
Investigation data from
|
pcr |
PCR test data from
|
delay |
The number of days that reporting is delayed; will truncate percent positive numbers at this date |
date |
Download date of the data |
A tibble with columns
dt (Date), inv_pos (int), inv_neg (int), inv_pct_pos (dbl),
inv_pct_pos_avg (dbl), pcr_pos (int), pcr_neg (int),
deaths (int)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.