User Tools

Site Tools


doc:addcolumn

Add column

Tool version

1.0.0

Keyword

Column, Text

Summary

Adds any numeric or character value to the dataset.

Description

This tool adds a value into a new column.

General comments (Warning/Tips)

If your input file is not tab-delimited, use Text Manipulation→Convert.

Input

  • Add this value: enter the value to add. It can be either a numeric value or a character value.
  • to Dataset: select the input file.
  • iterate ?: you can choose either YES or NO. If you want to add a numeric value, iteration will start at this value. If you entered a text, iteration (starting at 0) will be added at the end of the text.

Output

The output dataset is in tabular format. It contains the input dataset plus one additional column containing the value to add.

Example

Usage Example: adding line numbers.

Input

Add this value: : 1

to Dataset: table.txt

Iterate: yes

With table.txt containing:

Output

Edited on

July 9th, 2014

doc/addcolumn.txt · Last modified: 2014/11/28 16:59 by slegras