add_days_since | R Documentation |
Helper function
add_days_since(data, start_cutoff)
data |
data frame with 'region', 'Date' and 'total' columns |
start_cutoff |
minimum number of total from which to start counting days |
data fram with extra column 'd' with days since 'total' reached 'start_cutoff'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.