A library for working with Table Schema in Julia:
Table Schema is a simple language- and implementation-agnostic way to declare a schema for tabular data. Table Schema is well suited for use cases around handling and validating tabular data in text formats such as CSV, but its utility extends well beyond this core usage, towards a range of applications where data benefits from a portable schema format.
Tableclass for working with data and schema
Schemaclass for working with schemata
Fieldclass for working with schema fields
validatefunction for validating schema descriptors
inferfunction that creates a schema based on a data sample
🚧 This package is pre-release and under heavy development. Please see DESIGN.md for a detailed overview of our goals, and visit the issues page to contribute and make suggestions. For questions that need to a real time response, reach out via Gitter. Thanks! 🚧
We aim to make this library compatible with all widely used approaches to work with tabular data in Julia.
examples folder and unit tests in runtests.jl for current usage.
Add fields to create or expand your schema like this:
🚧 Work In Progress. The following documentation is relevant only after package release. In the interim, please see DataPackage.jl
The package use semantic versioning, meaning that major versions could include breaking changes. It is highly recommended to specify a version range in your
REQUIRE file e.g.:
At the Julia REPL, install the package with:
(v1.0) pkg> add "https://github.com/loleg/TableSchema.jl"
Code examples here require Julia 0.7, as we are now migrating to Julia 1.0. See Pkg documentation for further information.
Clone this repository, enter the REPL (press
] at the Julia prompt) to activate and test it using:
You can also install the package locally and run unit tests from the console:
A new feature of Julia's package manager is the dev command. To get a copy of this package installed into your
~/.julia folder and updated with every change, use:
(v1.0) pkg> dev TableSchema