Build an Analysis Dataset
For: Analytics Publishers
Use this chapter to create the structure that Readers and Writers will use. Your connection must include lab.analytics.write, and you need a Publisher role for the selected Analytics Project.
Workflow
Section titled “Workflow”- Define the questions the dataset must support.
- Create a table and define its columns.
- Choose supported data types.
- Add initial data from a CSV file when needed.
- Review columns, imported rows, and validation results.
- Create a reusable read-only view when appropriate.
- Verify the dataset before sharing it.
Describe the dataset before creating it
Section titled “Describe the dataset before creating it”Tell the AI agent:
- the question or workflow the dataset should support;
- the meaning of one row;
- the required columns and their expected values;
- which columns uniquely identify a record; and
- whether a reusable read-only view is needed.
For example:
In the Respiratory Cohort Analytics Project, propose a dataset for one laboratory measurement per sample. Include a sample identifier, measurement name, numeric result, unit, and measurement date. Show the proposed schema, table, columns, data types, required fields, and primary key before creating anything.
Review names, data types, nullability, column order, and primary keys before authorizing a structural change. After creation, ask the AI agent to list the table and its columns so you can verify the result.
This manual will use product language such as dataset, table, column, and view. Database implementation details will remain in engineering documentation.