View source: R/get_date_time.R
get_date_time | R Documentation |
Get dates and times from NetCDF type date format.
get_date_time(times, unit)
times |
Timesteps from netcdf data (numeric). |
unit |
Unit from netcdf data (character). |
A data frame with the columns years, months, days and times. Careful: The parts of the date are of numeric type, but the times are stored as characters (levels).
date_time <- get_date_time(times = c(159191, 5991820),
unit = "minutes since 1980-05-07")
date_time
date_time$years
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.