UpdateAt | R Documentation |
Sets date and time after which an R object is woken and updated, then a frequency for periodic updates.
UpdateAt(
x,
us.format = FALSE,
time.zone = "UTC",
units = "days",
frequency = 1,
options = "snapshot"
)
x |
Character vector to be parsed into the first update date and time by
|
us.format |
logical; whether to use the US convention for dates; can be |
time.zone |
An optional time zone (default |
units |
The time unit for regular updates, which can be seconds, minutes, days, weeks or months. |
frequency |
How often the regular updates should occur, expressed in |
options |
Either |
If units
= "months" then frequency
must be an integer. The update time
will roll back to the last day of the previous month if no such day exists after stepping
forwards a multiple of frequency
months.
See Wikipedia for a list of time zones.
RefreshIfOlderThan
, UpdateEvery
## Update once every month starting on 31-1-2017 at 10:00:00
UpdateAt("31-1-2017 10:00:00", time.zone = "Australia/Sydney", units = "months", frequency = 1,
options = "wakeup")
## Update every 3 days starting on 05-15-2017 at 18:00:00
UpdateAt("05-15-2017 18:00:00", us.format = TRUE, time.zone = "America/New_York",
units = "days", frequency = 3, options = "snapshot")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.