restructurenode properties
Last updated: Feb 11, 2025
The Restructure node converts a nominal or flag field into
a group of fields that can be populated with the values of yet another field. For example, given a
field named
, with values of payment type
,
credit
, and cash
, three new fields would be created
(debit
, credit
, cash
), each of which might
contain the value of the actual payment made.debit
Example
node = stream.create("restructure", "My node") node.setKeyedPropertyValue("fields_from", "Drug", ["drugA", "drugX"]) node.setPropertyValue("include_field_name", True) node.setPropertyValue("value_mode", "OtherFields") node.setPropertyValue("value_fields", ["Age", "BP"])
properties |
Data type | Property description |
---|---|---|
|
[category category category]
|
|
|
flag | Indicates whether to use the field name in the restructured field name. |
|
|
Indicates the mode for specifying the values for the restructured fields. With
, you must specify which fields to use. With , the
values are numeric flags. |
|
list | Required if is . Specifies which
fields to use as value fields. |
Was the topic helpful?
0/1000