Importtool: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Mathias
imported>Mathias
(2 intermediate revisions by the same user not shown)
Line 24: Line 24:
Here we import a csv file by dragging the file into the browse window.   
Here we import a csv file by dragging the file into the browse window.   


The importool will attempt to automatically detect label columns.  Here the 2nd column containing the name's of beers has been automatically detected as a label column.  Third column, containing class information of either 'ale' or 'lager' has also been automatically detected as a label column.  To set this column to class, click where it says 'label' underneath C2 and select class.  The importer will now populate the datasets' class field with the information contained within this second column.     
We have 4 lines of header rows so we set specify this in this window. 
 
 
[[Image:csv_examp.jpg||460px|]]
[[Image:Text_import1.jpg||360px|]]
 
 
 
 
The importool will attempt to automatically detect label columns.  Here the first column containing the names of beers has been automatically detected as a label column.  The third column, containing class information of either 'ale' or 'lager' has also been automatically detected as a label column.  To set this column to a class column, click where it says 'label' underneath C2 and select class.  The importer will now populate the datasets'class field with the information contained within this second column.     






[[Image:csv_examp.jpg||460px|]]
[[Image:Text_import1.jpg||300px|]]
[[Image:importtool1.jpg||420px|]]
[[Image:importtool1.jpg||420px|]]



Revision as of 12:42, 27 October 2016

Purpose

GUI for designating column/row data types in incoming data. Allows user to specify a column or row as labels, class sets, or axisscale or data.

Synopsis

[ctypes, rtypes] = importtool(data);
[ctypes, rtypes] = importtool(data,options);

Description

Allows user to identify data type (data, class, axisscale, include, and ignore) fields (row and columns) in a data matrix.

Options

options = a structure array with the following fields:

  • fields: Nx2 cell array, first column is field name, second column is color to use.


Examples

Here we import a csv file by dragging the file into the browse window.

We have 4 lines of header rows so we set specify this in this window.


Csv examp.jpg Text import1.jpg



The importool will attempt to automatically detect label columns. Here the first column containing the names of beers has been automatically detected as a label column. The third column, containing class information of either 'ale' or 'lager' has also been automatically detected as a label column. To set this column to a class column, click where it says 'label' underneath C2 and select class. The importer will now populate the datasets'class field with the information contained within this second column.


Importtool1.jpg


See Also

parsemixed