Skip to content
Course Notes
Use this workspace to take notes, store code snippets, and build your own interactive cheatsheet!
Note that the data from the course is not yet added to this workspace. You will need to navigate to the course overview page, download any data you wish to use, and add it to the file browser.
# Import any packages you want to use here
library(microbenchmark)
library(fasttime)
Take Notes
Add notes here about the concepts you've learned and code cells with code you want to keep.
Add your notes here
Run cancelled
# Add your code snippets here
# Compare speed of fastPOSIXct() to ymd_hms()
microbenchmark(
ymd_hms = ymd_hms(dates),
fasttime = fastPOSIXct(dates),
times = 20)
Compares the running time between different functions - here ymd_hms & fastPOSIXct