CSV Export for Classification

Overview

The CSV Export for Classification plugin allows you to export classification annotation from your project into a structured CSV file.

Cover

CSV Export for Classification

Plugin Functionality

The CSV Export for Classification plugin enables users to export structured classification data from their projects into a clean, customizable CSV format. It offers flexible configuration options to tailor the exported data according to analytical or reporting needs.

  • Supports multiple header formatting modes, allowing users to choose between schema titles, IDs, or combined formats for better readability and compatibility.

  • Provides the option to merge identical columns for simpler data representation, or keep them separate for detailed analysis.

  • Can include or exclude alternative answers, ensuring the exported data reflects exactly the level of detail required.

  • Offers full control over which columns are included or ignored in the final CSV output, helping reduce clutter and focus on relevant information.

  • Can export data in either a standard or unpivoted (normalized) table format to fit diverse analytical workflows.

  • Supports exporting annotations that contain multiple answers per item, maintaining flexibility for complex labeling scenarios.

Supported Data Types

  • Compatible with all data types available in AngoHub. (Except frame-specific classifications)

Supported Annotation Tools

  • Radio

  • Checkbox

  • Single-Select Dropdown

  • Multi-Select Dropdown

  • Single-Select Tree

  • Multi-Select Tree

  • Text

Sample CSV Export

Batch
External ID
Task ID
Question-1
Question-2
Question-2X
Question-2Y
Question-2Z
Question-3

first

image-1.jpg

64df4b296535520015be91f9

A

Y

2

B, C

second

image-4.jpg

64db3c87c14b35001503e10b

B

Z

1, 3

B, C

second

image-2.jpg

64d61df57713460015604478

C

Z

2, 3

A

third

image-3.jpg

6478536df528eb0015617ff8

C

Z

2

B, C

Plugin Configuration

From the Stage Filter field, pick the stages containing the tasks you'd like to get the export of. Similarly, from the Batch Filter field, you may select one or more batches the tasks of which will be exported. By default, all tasks are exported from all batches.

If you wish to receive an email when the export is complete, toggle Send Email on.

You may vary a number of settings related to your export from the Config JSON field. Each option is detailed below:

{
  "header_type": "title",
  "aggregate_same_columns": false,
  "aggregate_other_answers": false,
  "export_data_url": false,
  "export_data": false,
  "ignore_columns": [],
  "unpivot_table": false,
  "single_annotation_multiple_answers": false,
  "verbose": false,
  "verbose_frequency": 1000
}
  • "header_type": Specifies how column headers are generated in the exported CSV file.

    • Options:

      • "title"

      • "id"

      • "title_id"

      • "id_title"

      • "level_title"

      • "ToolTree_title"

    • Example:

      • "header_type": "title"

  • "aggregate_same_columns": Determines whether columns with identical headers should be merged into one.

    • Example:

      • "aggregate_same_columns": true

      • "aggregate_same_columns": false

  • "aggregate_other_answers": Specifies whether answers outside the defined schema should be grouped under an “Other” category during export.

    • Example:

      • "aggregate_other_answers": true

      • "aggregate_other_answers": false

  • "export_data_url": Defines whether to include the URL of assets in the CSV output.

    • Example:

      • "export_data_url": true

      • "export_data_url": false

  • "export_data": Defines whether to include the actual data in the CSV output. (Valid for text assets)

    • Example:

      • "export_data": true

      • "export_data": false

  • "ignore_columns": Lists columns to exclude from the exported CSV file. Accepts a list of column names.

    • Example:

      • "ignore_columns": ["ID", "Name"]

  • "unpivot_table": Determines whether to unpivot the table format so that multiple annotations or classifications appear as separate rows instead of columns.

    • Example:

      • "unpivot_table": true

      • "unpivot_table": false

  • "single_annotation_multiple_answers": Specifies whether multiple answers within a single annotation should be included in separate rows or merged in a single cell.

    • Example:

      • "single_annotation_multiple_answers": true

      • "single_annotation_multiple_answers": false

  • "verbose": Controls whether detailed progress logs are displayed during export.

    • Example:

      • "verbose": true

      • "verbose": false

  • "verbose_frequency": Defines how often progress updates are shown when verbose is enabled.

    • Example:

    • "verbose_frequency": 100

Last updated