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")


frictionlessdata/tableschema-r documentation built on Oct. 1, 2022, 11:44 a.m.