date_name | R Documentation |
This function converts a date to the 6 digit code that relates that date to a WeStCOMS file name (or vice versa).
date_name(x, define = "date_name")
x |
A vector of dates or date names to be converted. |
define |
A character that specifies whether 'x' is to be converted from a date to a date_name ( |
Edward Lavender
# 1) Extract the WeStCOMS file name as a numeric object from some dates: date_name(x = as.Date(c("2016-03-01", "2016-03-02")), define = "date_name") # 2) Define a sequence of dates from WeStCOMS file names: date_name(x = c(160101, 170101), define = "date")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.