crosswalk_datetime: Convert a date(time) of unknown format into EML

Description Usage Arguments Value

View source: R/eml_crosswalk.R

Description

A quick and dirty crosswalk of an unknown date(time) input to EML that really only works for ISO8601 input. All other formats will fail and be returned as-is as a calendarDate. From there the user will need to do a conversion themselves.

Usage

1

Arguments

input

(character) Some unknown date(time) input

Value

(list) A list with members calendarDate and time. time will be NULL if parsing fails or if the time string inside input isn't ISO8601


dataspice documentation built on May 17, 2021, 1:09 a.m.