build a schema description

schema-class schema

The schema class (S4) and its methods

schema_default

Default template of a schema description

setCluster()

Set where the clusters are

setFilter()

Set filters

setFormat()

Set the specific format of a table

setIDVar()

Set an identifying variable

setObsVar()

Set an observed variable

setGroups()

Set Groups

.find()

Determine row or column on the fly

.sum()

Summarise groups of rows or columns

validate and debug the schema description

getClusterVar()

Extract cluster variables

getData()

Extract summarised data

getGroupVar()

Extract cluster group variable

getIDVars()

Extract identifying variables

getObsVars()

Extract observed variables

validateSchema()

Check and update schema descriptions

reorganise tables

reorganise()

Reorganise a table

other helper functions

.eval_find()

Evaluate .find constructs

.eval_sum()

Evaluate .sum constructs

.expect_valid_table()

Test for a valid table

.getColTypes()

Get the column types of a tibble

.reportProblems()

Catch and report problems in a schema description

.spliceHeader()

Splice the header into the table

.tidyVars()

Match variables

.updateFormat()

Update the formating of a table

show(<schema>)

Print the schema

example data

tabs2shift

List of table types