API reference

API reference

Visualizing tables

TableWidgets.headFunction.

head(t, r=6)

Show first r rows of table t as HTML table.

source

Filtering data

categoricalselector(v::AbstractArray, f=filter)

Create as many checkboxes as the unique elements of v and use them to select v. By default it returns a filtered version of v: use categoricalselector(v, map) to get the boolean vector of whether each element is selected.

source

rangeselector(v::AbstractArray, f=filter)

Create a rangepicker as wide as the extrema of v and uses to select v. By default it returns a filtered version of v: use rangeselector(v, map) to get the boolean vector of whether each element is selected. Missing data is excluded from the range automatically.

source
TableWidgets.selectorFunction.

selector(v::AbstractArray, f=filter)

Create a textbox where the user can type in an anonymous function that is used to select v. _ can be used to denote the funcion argument, e.g. _ > 0. By default it returns a filtered version of v: use selector(v, map) to get the boolean vector of whether each element is selected

source

addfilter(t; readout = true)

Create selectors (categoricalselector, rangeselector, selector are supported) and delete them for various columns of table t. readout denotes whether the table will be displayed initially. Outputs the filtered table.

source

Processing data

dataeditor(t, rows; label = "Show table")

Create a textbox to preprocess a table: displays the result using toggled(head(t, rows)).

source