User Tools

Site Tools


transformations:cleanup

Differences

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

Link to this comparison view

Next revision
Previous revision
transformations:cleanup [2016/06/19 19:54] – created dmitrytransformations:cleanup [2024/04/12 00:35] (current) craigt
Line 1: Line 1:
-===== Clean up =====+{{ transformations:CleanUpAction.png}} 
 +====== CLEAN UP ====== 
 +Category: Transform / Basic\\
  
-Remove from column particular values or values of a particular type (e.g. text) by replacing them with empty cells. Unlike [[transformations:selectionfilter|Filter]] this transformation doesn't remove table rows.+\\  
 +=====Description===== 
 +This action removes specified valuesor values of a particular type (e.g. text), from one or more columns by replacing them with empty cells.\\
  
-**Use cases** +\\ 
-Clean Up is used for dealing for data quality issues. E.g. removing text values from a column where only numbers are expected, or removing particular (garbage) values. Most typically, Clean Up is used when importing data from Excel spreadsheets.+=====Use cases===== 
 +//Clean Up// is used for dealing with data quality issues - e.g. removing text values from columns where only numbers are expected, or removing specific undesired values. Most typically, //Clean Up// is used when importing data from Excel spreadsheets.\\ 
 + 
 +\\  
 +=====Action settings===== 
 +^Setting^Description^ 
 +|Column|Click the down arrow to choose which columns Clean Up will affect.  Options:  //Column// (and select a specific column), //All columns// (to clean the entire dataset), or //Selected columns// (and select which columns will be cleaned).| 
 +|Remove…|Select the types of values, or specific values, to be removed.  See below.| 
 +\\  
 +====Remove options==== 
 +^Option^Description^ 
 +|Remove numbers|All numeric values are removed.| 
 +|Remove everything but numbers|All numbers are kept; non-numeric values are removed.| 
 +|Remove text values|All text values are removed.| 
 +|Remove everything but text values|Text values are kept; non-text values are removed.| 
 +|Remove whitespace only values|Removes values containing only spaces.| 
 +|Remove errors|All error results are removed.| 
 +|Remove particular values|Options:  //Remove selected values// or //Remove all but selected// When selected, a list of all unique\\ values in the column is displayed for the user to manually select which values to keep or remove.| 
 + 
 +\\  
 +=====Remarks===== 
 +Unlike [[transformations:selectionfilter|Filter]], this transformation doesn't remove table rows.\\ 
 + 
 +\\  
 +=====Community examples===== 
 +  * [[https://community.easymorph.com/t//1375/5|Example: Getting public holidays from an API with Web Request]] ([[https://community.easymorph.com/uploads/short-url/pL0iYCFfb1g8rGHfNBMZd1rAd8k.morph|Project]]; Module: //Main//; Group: //Tab 1//; Table: //Public holidays//;\\ Action position: //4//) 
 +  * [[https://community.easymorph.com/t//2017/3|Duplicating rows based on a condition]] ([[https://community.easymorph.com/uploads/short-url/blETeOO6qUVzskyO2eYqMiNvjPP.morph|Project]]; Module: //Main//; Group: //Tab 1//; Table: //Table 1 (2)//; Action position: //5//) 
 + 
 +\\  
 +=====Shortcuts===== 
 +Fast ways to create the action:\\ 
 +  *Right-click a value and select "Clean Up" Choose whether to "Keep only [value]" or "Remove [value]" from the submenu. 
 + 
 +\\  
 +=====See also===== 
 +  * [[transformations:Replace|Replace]]
transformations/cleanup.1466380452.txt.gz · Last modified: 2016/06/19 19:54 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki