lubridate is an R package that makes it easier to work with dates and time objects.
The lubridate
package facilitates working with dates and times in r.
lubridate
also expands the type of mathematical operations that can be performed with date-time objects. It introduces three new time span classes borrowed from jodatime:
- durations, which measure the exact amount of time between two points
- periods, which accurately track clock times despite leap years, leap seconds, and day light savings time
- intervals, a protean summary of the time information between two points
Repositories
Vignettes
Other resources
- Dates and Times Made Easy with lubridate by Garrett Grolemund and Hadley Wickham in the Journal of Statistical Software.
- CRAN Task View on Time Series
- Posts on R-bloggers
- Cheat Sheet by RStudio