types.castYearmonth: Cast a specific month in a specific year

View source: R/types.castYearmonth.R

types.castYearmonthR Documentation

Cast a specific month in a specific year

Description

Cast a specific month in a specific year as per XMLSchema gYearMonth. Usual lexical representation is: YYYY-MM.

Usage

types.castYearmonth(format, value)

Arguments

format

no options (other than the default)

value

list or string with yearmonth to cast

See Also

Types and formats specifications

Examples


types.castYearmonth(format = "default", value = list(2000, 10))

types.castYearmonth(format = "default", value = "2018-11")


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