data.csvformat

data.csvformat takes input from one or more files or standard input and generates plain CSV output on standard output. By default a header line with variable names is generated. Optionally a second header line with variable descriptions can also be generated

Command Line Usage

data.csvformat [--noheader] [--fielddesc] [--norecord] [--keeptimeformat] 
               [file1] ... [fileN]

If no files are specified input defaults to reading from standard input.

Arguments

--noheader

Disable variable name header.

--fielddesc

Enable variable description header.

--norecord

Remove record type codes.

--keeptimeformat

Keep date time formatting. That is don't remove the 'T' and 'Z' for Excel.

file1 ... fileN

Names of input files. Use “-” for standard input.

Example Usage

data.get sgp S11a 2008:10 2008:11 | data.csvformat > data.csv