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