transformations:massreplace
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
transformations:massreplace [2015/04/10 16:05] – elenap | transformations:massreplace [2021/04/19 00:43] – craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Table-wide replace | + | {{ transformations: |
+ | ====== TABLE-WIDE REPLACE ====== | ||
+ | Category: Transform / Advanced\\ | ||
- | This transformation | + | \\ |
+ | =====Description===== | ||
+ | This action | ||
- | It' | + | \\ |
+ | =====Use cases===== | ||
+ | This action is typically used for data cleansing, e.g. for removing | ||
- | EXAMPLE | + | \\ |
+ | =====Action settings===== | ||
+ | ^Setting^Description^ | ||
+ | |Search for|Enter the value to search for.| | ||
+ | |where it' | ||
+ | |Replace with|Enter the value to replace the search value with.| | ||
+ | |which is|Select whether the replacement value will occupy the entire cell or just the matching portion of the found search value. | ||
+ | |Perform replacement in|Select whether to search all or specific columns. | ||
- | **Source table:** The longest rivers in the world | + | \\ |
+ | =====Remarks===== | ||
+ | This action is case-sensitive. | ||
- | ^ River ^ Length (km) ^ Continent | + | Numeric values can only be searched for, and replaced as, entire cell values. |
- | | Nile | 6650 | Africa | + | |
- | | Amazon | + | |
- | | Yangtze | + | |
- | | Mississippi | + | |
- | | Yenisei | + | |
- | | Yellow River | 5464 | Asia | | + | |
- | | Ob | 5410 | Asia | | + | |
- | | Paraná | + | |
+ | \\ | ||
+ | =====Examples===== | ||
- | **Objective: | + | **Objective: |
- | **Transformation parameters:** | + | **Source table:** The longest rivers in the world |
- | | + | ^River |
- | | + | | Nile | 6650|Africa |
- | | + | | Amazon |
- | | + | | Yangtze |
- | | + | | Mississippi |
- | + | | Yenisei | |
+ | | Yellow River | 5464|Asia | ||
+ | | Ob | 5410|Asia | ||
+ | | Paraná | ||
+ | |||
+ | \\ | ||
+ | **Action parameters: | ||
+ | > Search for: "America" | ||
+ | > where it's: Entire cell or part of longer text | ||
+ | > Replace with: "America | ||
+ | > which is: Entire cell | ||
+ | > Perform replacement in: All columns | ||
+ | |||
+ | |||
+ | \\ | ||
**Output table:** | **Output table:** | ||
- | ^ River ^ Length (km) ^ Continent | + | ^River |
- | | Nile | 6650 | Africa | + | | Nile | 6650|Africa |
- | | Amazon | + | | Amazon |
- | | Yangtze | + | | Yangtze |
- | | Mississippi | + | | Mississippi |
- | | Yenisei | + | | Yenisei |
- | | Yellow River | 5464 | Asia | | + | | Yellow River | 5464|Asia |
- | | Ob | 5410 | Asia | | + | | Ob | 5410|Asia |
- | | Paraná | + | | Paraná |
+ | |||
+ | \\ | ||
+ | =====See also===== | ||
+ | * [[transformations: | ||
+ | * [[transformations: | ||
+ | * [[transformations: |
transformations/massreplace.txt · Last modified: 2021/07/19 02:17 by craigt