types.castYear: Cast year

View source: R/types.castYear.R

types.castYearR Documentation

Cast year

Description

Cast year. A calendar year as per XMLSchema gYear. Usual lexical representation is: YYYY.

Usage

types.castYear(format, value)

Arguments

format

no options (other than the default)

value

year to cast

See Also

Types and formats specifications

Examples


types.castYear(format = "default", value = 2000)

types.castYear(format = "default", value = "2010")


tableschema.r documentation built on Sept. 30, 2022, 1:06 a.m.