Converting known bad TIMESTAMP formats to POSIXt and setting the correct timezone
Data frame containing TIMESTAMP variable. Also it can be a vector with TIMESTAMP values
Data frame containing the environmental metadata, in order to obtain the timezone information
When loading data from csv files, depending on the office version and workflow to introduce TIMESTAMP and data, TIMESTAMP can result in the wrong format (lost of seconds, for example). This function checks for known formatting errors and try to fix them.
An object of the same type of input (data frame or vector) with the fixed values of TIMESTAMP. If TIMESTAMP is already in format, a message appears and none fix is made, returning data as entered. If TIMESTAMP can not be fixed, an error is raised.
This function also set the timezone attribute to the POSIXt TIMESTAMP.
functions internally to get the timezone from the
variable, transforming it to a compatible timezone name and set it as a
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.