View source: R/DateTranformation.R
granule.data2ymd | R Documentation |
Transform a table of 3 columns in format dates to table with 9 columns of integers (convert each date into 3 integers: year, month, day)
granule.data2ymd(dt.date)
dt.date |
data.table with columns: start.date end.date central.date |
data.table with columns: Year Month Day Start_year Start_month Start_day End_year End_month End_day
dt.date <- ddate2date.3d(1985 + seq(0,1,by=.1))
granule.data2ymd(dt.date)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.