xmlTime2POSIX: Convert time from xml to POSIX format.

Description Usage Arguments

Description

Convert the XML time The XML time format to POSIXct.

Usage

1
xmlTime2POSIX(xml.time, allow = FALSE)

Arguments

xml.time

character. Time in XML format such as 2014-02-01T03:00:00

allow

logical. Wrong format will be accepted when allow is set to be TRUE and NA will be the return value, otherwise return error. It is useful while dealing with pseudonymous data where the time format is not presented correctly.


cleanEHR documentation built on May 2, 2019, 6:40 a.m.