EXTRACT THE VALUE OF A RESPONSE NAME FROM A KEYVALUE

Extracts one or more named entries from a KeyValue collection and returns them as a new KeyValue. Use this worker when you need to filter a KeyValue down to a specific subset of keys by name (case-sensitive).

When to use

Classification: process.

Tagged: extract, filter, key-value, keyvalue, lookup, multiple, transformations.

Inputs

Label ID Type Default Required Description
Kv1 kv1 keyvalue   Source KeyValue collection to extract entries from; connect the upstream KeyValue output whose keys you want to filter.
Names names_in scalar Unknown   One or more key names (case-sensitive) to extract from the KeyValue; defaults to ‘Unknown’ — replace with the exact key name(s) present in kv1.

Outputs

Label ID Type Description
keyvalue_extract_multiple_output_1 keyvalue_extract_multiple_output_1 keyvalue A new KeyValue collection containing only the entries whose names matched the values specified in names_in.

Disciplines

  • data.dataset.transform

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=keyvalue_extract_multiple


Auto-generated from transformation schema. Worker id: keyvalue_extract_multiple. Schema hash: 662fcadb45ff. Hand-curated docs in workerexamples/ override this page when present.