Tablicious comes with several example data sets that you can use to explore how
its functions and objects work. These are accessed through the
tblish.datasets
and tblish.dataset
classes.
To see a list of the available data sets, run tblish.datasets.list()
.
Then to load one of the example data sets, run
tblish.datasets.load('examplename')
. For example:
tblish.datasets.list t = tblish.datasets.load('cupcake')
You can also load it by calling tblish.dataset.<name>
. This does
the same thing. For example:
t = tblish.dataset.cupcake
When you load a data set, it either returns all its data in a single variable (if you capture it), or loads its data into one or more variables in your workspace (if you call it with no outputs).
Each example data set comes with help text that describes the data set and
provides examples of how to work with it. This help is found using the doc
command on tblish.dataset.<name>
, where <name> is the name of
the data set.
For example:
doc tblish.dataset.cupcake
(The command help tblish.dataset.<name>
ought to work too, but it
currently doesn’t. This may be due to an issue with Octave’s help
command.)