User Tools

Site Tools


transformations:append

Differences

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

Link to this comparison view

Next revisionBoth sides next revision
transformations:append [2014/10/25 17:05] – created dmitrytransformations:append [2015/04/17 23:31] elenap
Line 2: Line 2:
  
 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. 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.
 +
 +EXAMPLE
 +
 +**Table 1:** The longest rivers in the world
 +
 +^  River  ^  Length (km)  ^  Continent  ^
 +| Nile  |  6650  |  Africa  |
 +| Amazon  |  6400  |  South America  |
 +| Yangtze  |  6300  |  Asia  |
 +| Mississippi  |  6275  |  North America  |
 +
 +**Table 2:** The outflow
 +
 +^  River  ^  Outflow  ^  
 +| Nile  |  Mediterranean  |  
 +| Amazon  |  Atlantic Ocean  | 
 +| Yangtze  |  East China Sea  | 
 +| Mississippi  |  Gulf of Mexico 
 +
 +
 +**Objective:** Append Table 2 to Table 1
 +
 +**Result:**
 +
 +^  River  ^  Length (km)  ^  Continent  ^  Outflow  ^  
 +| Nile  |  6650  |  Africa 
 +| Amazon  |  6400  |  South America  |
 +| Yangtze  |  6300  |  Asia  |
 +| Mississippi  |  6275  |  North America  |
 +| Nile  |    |    |  Mediterranean 
 +| Amazon  |    |    |  Atlantic Ocean  |
 +| Yangtze  |    |    |  East China Sea  |
 +| Mississippi  |    |    |  Gulf of Mexico  |
 +
 +=== See also ===
 +  * [[transformations:merge|Blend in another table]]
 +
transformations/append.txt · Last modified: 2021/07/19 02:32 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki