xmlTime2POSIX: Convert time from xml to POSIX format.

Description Usage Arguments

View source: R/utilities.R

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.


ropensci/cleanEHR documentation built on Sept. 6, 2018, 1:52 a.m.