iso8601_truncate: Truncate a partial ISO8601 date-time

View source: R/dtc_create_iso8601.R

iso8601_truncateR Documentation

Truncate a partial ISO8601 date-time

Description

iso8601_truncate() converts a character vector of ISO8601 dates, times or date-times that might be partial and truncates the format by removing those missing components.

Usage

iso8601_truncate(x, empty_as_na = TRUE)

Arguments

x

A character vector.

Value

A character vector.


sdtm.oak documentation built on April 3, 2025, 9:37 p.m.