| Types | R Documentation |
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).
R6Class object.
Object of R6Class .
castssee Section 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.