xlsx_date | R Documentation |
readxl::read_excel() on a column with mixed formated cells will not easily parse dates consider read_excel(..., col_types = c("date","guess",...)) unless column is mixed valued (e.g. "42068", "1/31/2010,1/2/2011", ...) NB. excel's date origin is 1899-12-30
xlsx_date(x, msg = NULL, minyear = 2000, maxyear = year_() + 2)
x |
(vector of) would be dates to transform back |
print(xlsx_date(c(41977,"42068"))) # "2014-12-04" "2015-03-05"
xlsx_date("10977") # error out of range (1933-01-14)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.