From the README:
Schema is a specification of a data set.
It exists independently of any particular data set, and therefore can be constructed and modified in the absence of a data set.
This package facilitates 3 use cases:
- Read/write a schema from/to a yaml file. Thus schemata are portable, and a change to a schema does not require recompilation.
- Compare a data set to a schema and list the non-compliance issues.
- Transform an existing data set in order to comply with a given schema as much as possible (then run the compare function on the result to list any outstanding issues).
Feedback most welcome. Enjoy!