Learn R Programming

tableschema.r (version 1.1.2)

types.castYearmonth: 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

Examples

Run this code

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

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

Run the code above in your browser using DataLab