It creates a new timestam colume using the date and time output of EddyPro. It then converts the column to a POSIXct class and extracts to separate columns the year, month, day and hour. It requires the lubridate package.
The data frame
A character giving the name of the timestamp column
For the function to work properly, two columns need to exist. The data and time, each one with a specific format. The date column should be formated as YYYY-MM-DD and the time as HH:MM. The functions can be used with an existing timestamp column too and that should be formated as YYYY-MM-DD HH:MM:SS.
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.