Dates and Times Cheat Sheet

December 15, 2017

Lubridate makes it easier to work with dates and times in R. This lubridate cheatsheet covers how to round dates, work with time zones, extract elements of a date or time, parse dates into R and more. The back of the cheatsheet describes lubridate’s three timespan classes: periods, durations, and intervals; and explains how to do math with date-times. 

Previous Video
Getting Data into R
Getting Data into R

You can’t use R for data analysis unless you can get your data into R. Getting your data into R can be a ma...

Next Article
Announcing blogdown: Create Websites with R Markdown
Announcing blogdown: Create Websites with R Markdown

Today I’m excited to announce a new R package, blogdown, to help you create general-purpose (static) websit...