Purpose: sharing of smaller datasets - whole cubes or portions of larger cubes.
Package can be a directory or a ZIP file with following structure:
model.json data/ fact_*.csv dim_*.csv info.ini
The info.ini (or some other key-value file):
- datamart_version – version of datamart package format
- data_format - currently supported csv or sqlite
- dimension_prefix
- fact_prefix
Export:
slicer export [--cut=CUT] [--cubes=CUBES] [--compressed] CONFIG PATH
For example:
slicer export --cut=date:2010-2012 --compressed slicer.ini sales.datamart
Serving:
slicer serve --datamart contracts.datamart
Launching:
slicer cubes_viewer --datamart contracts.datamart
... will:
- prepare workspace
- run slicer server
- start cubes viewer
- launches web browser: webbrowser.open(VIEWER_URL)