Skip to main content
We recommend reviewing our end-to-end example to get a practical grasp of using Tabular Data Projects.
Tabular Data currently supports CONSENSUS Projects only.
Tabular data Projects work a little differently than typical Projects in Encord. Annotators and Reviewers select from options columns for each row. You can use multiple columns for selection.

Create Ontology for Tabular Data

Modify the following script example to create your Ontology.
Items of InterestNotes
READ_ONLY_COLUMNS
  • Specifies the columns you want your Annotators and Reviewers to see in the Label Editor.
  • Column count starts at 0.
  • Omit the columns in your CSV you do not want your Annotators and Reviewers to see.
ANNOTATION_COLUMNS
  • Specifies the columns your Annotators and Reviewers use to label data from. Your Annotators and Reviewers select answers from a drop down in these columns.
  • Specify the options available to Annotators and Reviewers using the files in MAPPING_FIELD_OPTION_PATHS. These files are single column files with one option available on each row.
ONTOLOGY_NAMESpecifies the name for your Ontology.
OBJECT_NAMESpecifies the name of the text region for each row in your CSV file. The script applies a label to each row in your CSV file using this text region.
tabular_create_ontology script

Create Tabular Data Project

Create a Project adding your Ontology and Dataset for Tabular Data.
  • Tabular data currently supports CONSENSUS Projects only.
  • An AGENT block must be the first block in the Workflow for Tabular Data Projects.
  • The AGENT block and AGENT pathway MUST be the exact name specified below.

Run the Agent script

The tabular_run_agent.py populates tasks in the AGENT block in your workflow. Create the following Python scripts. Both scripts must be in the same directory.
  • tabular_run_agent.py
  • tabular_utils.py
After creating the scripts, run the tabular_run_agent.py script. After running the script, tasks that were in the AGENT stage are now in the CONSENSUS - ANNOTATE stage.
Items of InterestNotes
AGENT_STAGESpecifies the name of the AGENT block in your Tabular Data Project. This name must exactly match the name of the AGENT block in your Project.
AGENT_PATHWAYSpecifies the name of the Pathway in your AGENT block. This name must exactly match the name of the pathway in the AGENT block in your Project.

Label and Review Tabular Data

Annotators Annotators use drop downs to select the genre and platform for each row. Reviewers Reviewers verify that the labels are correct.
Use any column in a row to select correct answers.
When there is an issue with labels/classifications, Reviewers can:
  • Reject the task and add a comment about why a task was rejected. Rejected tasks go back to the person who added the labels/classifications.
  • Edit labels directly using the Edit labels button and then approve the task.