restoreDate | R Documentation |
Restores dates that were converted by Andromeda to numeric values back to dates.
restoreDate(x)
x |
A numeric vector representing dates. |
A vector of type Date
.
restorePosixct()
myData <- data.frame(startDate = as.Date(c("2000-01-01", "2001-01-31", "2004-12-31")))
andr <- andromeda(myData = myData)
andr$myData %>%
collect() %>%
mutate(startDate = restoreDate(startDate))
# # A tibble: 3 x 1
# startDate
# <date>
# 1 2000-01-01
# 2 2001-01-31
# 3 2004-12-31
close(andr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.