Table of Contents


NAME

data:read-inline - read data from inline lists or column-format (Decida Procedure)

USAGE

          data:read-inline d text args

ARGUMENTS

d data object
text in-line data text
args OPTIONS

OPTIONS

-columns Specify the inline format as columns (default is lists).
-lists Specify the inline format as lists (default is lists).
-points Specify the inline format as points (default is lists).
-append Append to existing data. Default is to over-write existing the data.

RESULTS

Read in-line data into columns of data object. If there are no data columns with labels present, create new ones, otherwise append to rows of the data.
in column format, "comments" are removed (comments begin with a #). Lines with fewer fields than the header, are ignored.

EXAMPLE-CALL

             data d
             d read-inline {{COL1 1 2 3 4 5} {COL2 2 3 3 4 5}}
             d read-inline {
               x y
               1 2
               3 3
             } -columns -append
             d read-inline {{COL1 COL2} {1 2} {2 3} {3 3} {4 4} {5 5}}

AUTHORS

Richard Booth, Michael McLennan, George Howlett

Table of Contents