types.castString {tableschema.r} | R Documentation |
Cast string
Description
Cast string that is, sequences of characters.
Usage
types.castString(format, value)
Arguments
format |
available options are "default", "email", "uri", "binary" and "uuid", where
|
value |
string to cast |
See Also
Types and formats specifications
Examples
# cast any string
types.castString(format = "default", value = "string")
# cast email
types.castString(format = "email", value = "name@gmail.com")
# cast binary
types.castString(format = "binary", value = "dGVzdA==")
# cast uuid
types.castString(format = "uuid", value = "95ecc380-afe9-11e4-9b6c-751b66dd541e")
[Package tableschema.r version 1.1.2 Index]