DocumentationMotionCommons · Developer preview

Expose a dataset to dashboards

Developer preview

Publish a table schema once, then bind its fields in the no-code plot editor.

Docs/Build extensions
Ask Claude

Expose a dataset to dashboards

Page Markdown

The complete guide, ready to copy or save as a Markdown file.

Download .md ↓

Export a validated table

Use huggingbody.dataset_contracts.write_dataset(output_dir, filename, definition, rows, producer=...) in a file module and return the resulting descriptor on a declared output port.

Declare a namespaced semantic contract, title, explicit time base and 1–24 columns with at least one numeric column. Numeric columns require units; use 1 for dimensionless values. Declare nullability, and use None for missing values rather than silently coercing them.

Publish, bind and import

  1. In Workspace → Dashboards → Dataset library, select the output JSON or standalone schema.
  2. Publish the dataset schema. Only the definition is registered; patient rows are not published in the library.
  3. Choose the published dataset in a custom plot and bind its numeric and categorical fields.
  4. In the assigned patient dashboard, import an output against the exact pinned schema and patient session, then explicitly load it.

Dataset interchange limits

Producer metadata is an author declaration. Structural validation does not prove execution, verify scientific accuracy or attest to an algorithm. Full-size originals remain separate SDK artifacts.

BoundaryLimit or rule
Envelopehuggingbody/tabular-dataset@1.0.0
Columns1–24, including at least one numeric column
Rows1–5,000 exported rows
Normalized JSON400,000 bytes
CellsExactly the declared keys and types; finite numbers and declared nulls
SamplingExplicit description when the original row count is larger; no automatic resampling

Accessibility

Make every MotionCommons page comfortable for you. Settings apply on this browser.

Text size

Your training, at your pace.

Reading & movement
Audio support

Spoken audio is unavailable in this browser. All instructions remain available as text.

Read this page speaks up to 1,800 characters of visible page text. Embedded dashboards have their own Read dashboard button.