rica.schema

The `schema` namespace contains functions for creating data-frame schemas,
and checking if data structures conform to the schema. In Rica, a schema is
represented by a ordered-map where the keys are column names and values or
classes (data types).

map-conforms?

(map-conforms? m sch)
Indicates if the given map-like object conforms to the given schema.

print-schema

(print-schema schm)
Prints a schema.

schema

(schema col-name col-type & args)
Creates an ordered map representing a schema of a dataframe or map. Args
should be alternating keyword and Class names (ie Long, String, Double).

Example
(schema :name String :age Long)

vec-conforms?

(vec-conforms? v sch)
Indicates if the given vector conforms to the given schema.