transformations:rename
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
transformations:rename [2014/10/25 18:32] – created dmitry | transformations:rename [2015/04/10 15:22] – elenap | ||
---|---|---|---|
Line 2: | Line 2: | ||
This transformation changes column names. Duplicating names are not allowed. | This transformation changes column names. Duplicating names are not allowed. | ||
+ | |||
+ | EXAMPLE | ||
+ | |||
+ | **Source table:** The longest rivers in the world | ||
+ | |||
+ | ^ River ^ Length (km) ^ Length (miles) | ||
+ | | Nile | 6650 | 4132 | Africa | ||
+ | | Amazon | ||
+ | | Yangtze | ||
+ | | Mississippi | ||
+ | |||
+ | |||
+ | **Objective: | ||
+ | |||
+ | **Transformation parameters: | ||
+ | |||
+ | * Columns to rename: Continent | ||
+ | * Rename to: Location | ||
+ | | ||
+ | **Output table:** | ||
+ | |||
+ | ^ River ^ Length (km) ^ Length (miles) | ||
+ | | Nile | 6650 | 4132 | Africa | ||
+ | | Amazon | ||
+ | | Yangtze | ||
+ | | Mississippi |
transformations/rename.txt · Last modified: 2021/07/19 01:29 by craigt