Icon

Exercise1

KBL: Chapter 3 Exercise1
Workflow: Chapter 3/Exercise 1 This workflow is just an exercise for stringmanipulation and rule creation.The String Manipulation node alone can probablyimplement the required string manipulation task. However, just to show what other nodes can do, theRule Engine, the Column Resorter, the ColumnCombiner and the String Replacer are also shown inthis exercise. String Manipulation OptionsBoth branches build the sentences "inflated is T" and "not inflated is F" for inflated andnot inflated balloons. readyellow-small.dataknime:// protocol is usedto make reference easiercolumn headers are takenfrom fileballons.names"not," ->"not ""Inflated" columnas last columnpreparing forColumn Combiner nodesame result asfrom all string manipulation nodes aboveif YELLOW and SMALL=>"inflated"otherwise +>"not inflated"tmp = "is"alwaysjoiningclass + tmp = Inflated (T/F) File Reader Column Rename String Replacer Column Resorter String Manipulation Rule Engine Rule Engine Column Combiner Workflow: Chapter 3/Exercise 1 This workflow is just an exercise for stringmanipulation and rule creation.The String Manipulation node alone can probablyimplement the required string manipulation task. However, just to show what other nodes can do, theRule Engine, the Column Resorter, the ColumnCombiner and the String Replacer are also shown inthis exercise. String Manipulation OptionsBoth branches build the sentences "inflated is T" and "not inflated is F" for inflated andnot inflated balloons. readyellow-small.dataknime:// protocol is usedto make reference easiercolumn headers are takenfrom fileballons.names"not," ->"not ""Inflated" columnas last columnpreparing forColumn Combiner nodesame result asfrom all string manipulation nodes aboveif YELLOW and SMALL=>"inflated"otherwise +>"not inflated"tmp = "is"alwaysjoiningclass + tmp = Inflated (T/F)File Reader Column Rename String Replacer Column Resorter String Manipulation Rule Engine Rule Engine Column Combiner

Nodes

Extensions

Links