types.castYearmonth {tableschema.r} | R 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")
[Package tableschema.r version 1.1.2 Index]