transformations:append
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
transformations:append [2014/10/25 17:05] – created dmitry | transformations:append [2021/04/07 14:16] – [Use cases] dmitry | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Append table ===== | + | {{ transformations: |
+ | ====== APPEND ANOTHER TABLE ====== | ||
+ | Category: Transform / Basic\\ | ||
+ | |||
+ | \\ | ||
+ | =====Description===== | ||
+ | This action appends another table to the current dataset. | ||
+ | \\ | ||
+ | ====Append | ||
+ | The other table (dataset) is appended as new rows at the bottom of the current table. Columns with the same name in both tables appear as one column in the result table. Columns in the appended table that don't exist in the main table are appended on the right. | ||
+ | |||
+ | This mode has the useful feature of preserving the order of columns of the main dataset to which the other dataset is appended.\\ | ||
+ | \\ | ||
+ | ====Append columns==== | ||
+ | The other table (dataset) is appended as new columns to the right of the current dataset. Columns from the appended table with the same name as in the main table are automatically renamed. The length of the resulting table is the longest length of the two tables.\\ | ||
+ | |||
+ | \\ | ||
+ | =====Use cases (Append rows)===== | ||
+ | * Concatenation of similar datasets. | ||
+ | * Incremental loading. | ||
+ | |||
+ | |||
+ | \\ | ||
+ | =====Action settings===== | ||
+ | ^Setting^Description^ | ||
+ | |Table to append|Select the dataset to append to the current one.| | ||
+ | |Mode|Options: | ||
+ | |||
+ | Regardless of the mode, a dotted line will connect this action to the appended dataset in the application window. | ||
+ | |||
+ | \\ | ||
+ | =====Examples===== | ||
+ | |||
+ | **Objective: | ||
+ | |||
+ | **Table 1:** The longest rivers in the world | ||
+ | |||
+ | ^River | ||
+ | | Nile | 6650|Africa | ||
+ | | Amazon | ||
+ | | Yangtze | ||
+ | | Mississippi | ||
+ | |||
+ | **Table 2:** The outflow | ||
+ | |||
+ | ^River | ||
+ | | Nile |Mediterranean | ||
+ | | Amazon | ||
+ | | Yangtze | ||
+ | | Mississippi | ||
+ | \\ | ||
+ | **Action parameters: | ||
+ | > Append columns to the right | ||
+ | \\ | ||
+ | **Result: | ||
+ | |||
+ | ^River | ||
+ | | Nile | 6650|Africa | ||
+ | | Amazon | ||
+ | | Yangtze | ||
+ | | Mississippi | ||
+ | | Nile | | |Mediterranean | ||
+ | | Amazon | ||
+ | | Yangtze | ||
+ | | Mississippi | ||
+ | |||
+ | \\ | ||
+ | =====More examples===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | ]] | ||
+ | * [[https:// | ||
+ | |||
+ | \\ | ||
+ | =====See also===== | ||
+ | * [[transformations: | ||
+ | * [[transformations: | ||
- | This transformation appends another table at the bottom of current table. Columns with the same name in both tables appear as one column in the result table. |
transformations/append.txt · Last modified: 2021/07/19 02:32 by craigt