iso8601_year {sdtm.oak}R Documentation

Format as a ISO8601 four-digit year

Description

iso8601_year() converts a character vector whose values represent years to four-digit years.

Usage

iso8601_year(x, cutoff_2000 = 68L)

Arguments

x

A character vector.

cutoff_2000

A non-negative integer value. Two-digit years smaller or equal to cutoff_2000 are parsed as though starting with 20, otherwise parsed as though starting with 19.

Value

A character vector.


[Package sdtm.oak version 0.1.0 Index]