| Types {tableschema.r} | R Documentation |
Types class
Description
R6 class with Types and Formats.
type and format properties are used to give the type of the field (string, number etc) -
see types and formats for more details.
If type is not provided a consumer should assume a type of "string".
A field's type property is a string indicating the type of this field.
A field's format property is a string, indicating a format for the field type.
Both type and format are optional: in a field descriptor, the absence of a type property indicates that
the field is of the type "string", and the absence of a format property indicates that the field's type format is "default".
Types are based on the type set of json-schema with some additions and minor modifications (cf other type lists include those in Elasticsearch types).
Format
R6Class object.
Value
Object of R6Class .
Fields
castssee Section See also
See Also
Types and formats specifications,
types.castAny,
types.castBoolean,
types.castDate,
types.castDatetime,
types.castDuration,
types.castGeojson,
types.castGeopoint,
types.castInteger,
types.castList,
types.castNumber,
types.castObject,
types.castString,
types.castTime,
types.castYear,
types.castYearmonth,
types.castArray