class_schema_methods: Schema: various methods for objects of class Schema

Description Usage Arguments Details Value See Also

Description

Some usual R methods for objects of class Schema.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'Schema'
as.data.table(x, ...)

## S3 method for class 'Schema'
format(x, ...)

## S4 method for signature 'Schema'
length(x)

## S4 method for signature 'Schema'
names(x)

Arguments

x

a Schema object.

...

additional arguments to be passed to or from methods.

Details

as.data.table.Schema() coerces a Schema object to a data.table. This creates a new data.table with a structure based on the underlying Schema. Values stored as archetype(s) are used to populate the table.

Value

Return value depends on the function used.

See Also

Other Schema: Schema-accessors, Schema-class, Schema-coercions, Schema-extractors, Schema-setops, Schema-validators, is_schema()


jeanmathieupotvin/cargo documentation built on Oct. 27, 2020, 5:22 p.m.