The package
flipTime
provides utilities for working with time series and date-time data. The package can be installed fromGitHub
using
12require
(devtools)
install_github
(
"Displayr/flipTime"
)
I will discuss only two functions from the package in this post,
AsDate()
andAsDateTime().
These are used for the conversion of date and date-time strings, respectively. These functions build on the convenience and speed of thelubridate
function. Furthermore, theflipTime
functions provide additional functionality (making them easier to use). The functions are smart about identifying the proper format to use. So the user doesn’t need to specify the format(s) as inputs. At the same time, bothAsDate()
andAsDateTime()
are careful to not convert any strings to dates when they are not formatted as dates. Additionally, it will also warn the user when the dates are not in an unambiguous format.
Check it out.
Comments closed