User Tools

Site Tools


transformations:lookup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
transformations:lookup [2021/07/17 16:11] – [Examples] craigttransformations:lookup [2021/07/19 01:46] – [Examples] craigt
Line 45: Line 45:
 **Objective:** Substitute all instances of the province name variations with "Quebec" for consistency.  **Objective:** Substitute all instances of the province name variations with "Quebec" for consistency. 
  
-**Table 1:** Canadian Olympic Champions 2014+**Source table 1:** Canadian Olympic Champions 2014
  
 ^Gold medalist  ^Province  ^Sport  ^ ^Gold medalist  ^Province  ^Sport  ^
Line 55: Line 55:
 | Charles Hamelin  |Que.  |men’s short-track  | | Charles Hamelin  |Que.  |men’s short-track  |
 \\  \\ 
-**Table 2:** Substitution lookup table+**Source table 2:** Substitution lookup table
  
 ^Old name  ^New name  ^   ^Old name  ^New name  ^  
Line 64: Line 64:
 **Action parameters:** **Action parameters:**
 > Replace value in column: Province > Replace value in column: Province
->Using table: Table 2+>Using table: Source table 2
 >Look up in column: Old name >Look up in column: Old name
 >Replace with values from column: New name >Replace with values from column: New name
 >When not found: Keep original value >When not found: Keep original value
 \\  \\ 
-**Result:**+**Result table:**
  
 ^Gold medalist  ^Province  ^Sport  ^ ^Gold medalist  ^Province  ^Sport  ^
Line 80: Line 80:
 \\  \\ 
 **Alternate result:**\\ **Alternate result:**\\
-If "Append new column" had been selected instead of "Replace value",above, the following dataset would be the output:+If "Append new column" had been selected instead of "Replace value", above, the following dataset would be the output:
  
 ^Gold medalist  ^Province  ^Sport  ^New name^ ^Gold medalist  ^Province  ^Sport  ^New name^
transformations/lookup.txt · Last modified: 2021/07/19 02:31 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki