Workspace Node: Merge Text Labels - Specifications Tab
The Merge Text Labels workspace node can be accessed from the Feature Finder, ribbon bar, or Node Browser. Double-click the node to display the specifications dialog box.
Only the text labels of variables with the same name in both files will be merged. If two variables (from the two files) share the same name but you do not want to merge their text labels, then temporarily change the name of the variable in one of the files until the merge procedure is completed.
Input.
For example, if you select variables 1-3 from File 1 and variables 2-4 from File 2, the text labels of variable 1 from File 1 will be merged with the text labels of variable 2 from File 2, etc.
Output.
Variables.
For example, suppose you have two data sets you want to merge:
| File 1 | File 2 | ||
| Red | 101 | Yellow | 101 |
| Blue | 102 | Blue | 102 |
| Yellow | 103 | Green | 103 |
Open the File 1 data file, select Merge from the Data menu to display the Merge Options dialog box, and select the File 2 data file. Then, if you choose to Replace text labels in File 1 with text labels from File 2, the result is:
| Yellow | 101 |
| Blue | 102 |
| Green | 103 |
For example, if you merge File 1 and File 2 in the previous example using the Remove text labels from File 1 and replace with text labels from File 2 option, the result is:
| Yellow | 101 |
| Blue | 102 |
| Green | 103 |
For example, if you merge File 1 and File 2 in the previous example using the Keep text labels from File 1, but add to it those labels from File 2. option, the result is:
| Red | 101 |
| Blue | 102 |
| Yellow | 103 |
Options. See Common Options.
OK. Click the OK button to accept all the specifications made in the dialog box and to close it. To view the new spreadsheet, click the icon on the lower-right corner of the Concatenate Variables node.
See also,
Home