COMPUTE THE UNIQUE NUMBER OF OCCURRENCES IN VALUES¶
Counts the number of unique values present in a specified column of a key-value response object. Use this worker when you need to determine the cardinality (distinct value count) of any field within a key-value dataset.
When to use¶
Classification: process.
Tagged: cardinality, count, distinct, keyvalue, occurrences, process, unique.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Response | kv1 | keyvalue | — | Key-value response object whose column values will be analyzed; connect the upstream response or dataset output here. | |
| Column Name | column_name | scalar | — | Name of the column (key) within the key-value object whose unique value count should be computed; must be provided as a quoted string matching an existing key name. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| keyvalue_uniquenum_output_1 | keyvalue_uniquenum_output_1 | scalar | Scalar integer representing the number of distinct values found in the specified column of the input key-value object. |
Disciplines¶
- data.dataset.transform
- data.statistics
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=keyvalue_uniquenum
Auto-generated from transformation schema. Worker id: keyvalue_uniquenum. Schema hash: 5838350b8b9f. Hand-curated docs in workerexamples/ override this page when present.