View source: R/vc_iso_datetime.R
| vc_iso_datetime | R Documentation |
Validates and Reports If ISO 8601
vc_iso_datetime(data, x, ...)
data |
A data frame. |
x |
Column name from |
... |
ignored. |
dat <- data.frame(
start = c("2016-01-01T09", "R2D2-3CPO", sprintf("2016-04-%sT09", 12:19), NA),
end = c(NA, sprintf("2016-01-%sT09", 11:20)),
stringsAsFactors = FALSE
)
vc_iso_datetime(dat, 'start')
vc_iso_datetime(dat, 'end')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.