The following node is available in the Open Source KNIME predictive analytics and data mining platform version 2.7.1. Discover over 1000 other nodes, as well as enterprise functionality at http://knime.com.

Insert Column Header

Updates column names of a table according to the mapping in second dictionary table. The dictionary table needs to contain two columns, one of which contains the lookup (i.e. the column names of the table to be renamed), the other column containing the new column names. The lookup column may be the RowID column.

If the assigned new value in the value column is missing, the original column name will be retained. If the lookup column contains duplicates of the original column names, the node will fail.

Dialog Options

Lookup column
The column in the 2nd input containing the "old" names of the columns.
Value column
The column in the 2nd input containing the "new" names of the columns.
Fail if no assignment in dictionary table
If selected, the node fails if there is no matching entry of a column name in the dictionary table. Otherwise it will keep the original column name

Ports

Input Ports
0 Table whose columns are to be renamed.
1 Table containing two columns: lookup and new value.
Output Ports
0 Input table, whereby the columns are renamed according to the dictionary.
This node is contained in KNIME Base Nodes provided by KNIME GmbH, Konstanz, Germany.