User Tools

Site Tools


howtos:workwithdata:coordexample

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howtos:workwithdata:coordexample [2010/01/19 16:13]
deryn.crockett
howtos:workwithdata:coordexample [2010/01/19 16:28] (current)
deryn.crockett
Line 1: Line 1:
-===== Data Format Examples =====+===== Coordinate ​Data Format Examples =====
  
 The following examples will use the array object **pop[c,​s,​t]** which contains population data for North America by country, sex, and time where The following examples will use the array object **pop[c,​s,​t]** which contains population data for North America by country, sex, and time where
Line 9: Line 9:
 t is the sequence time from 2000 to 2004 t is the sequence time from 2000 to 2004
  
-==== Coordinate Data Format ​====+==== allCoord=off ​====
  
-=== allCoord=off === +If the allCoord parameter is set to off, data from the rightmost index are placed in columns. ​ The import file may appear as follows:
- +
-If the allCoord parameter is set to off, data from the rightmost index are placed in columns. ​ The import file would appear as follows:+
  
 <​file>​ <​file>​
Line 25: Line 23:
 Note that with coordinate format, there does not need to be data for every member of the set and the rows can be in any order. ​ (In the above example, US female and Mexico male are not in the file.) ​ However, the row labels in the import file must match the element names of the set.  TOOL matches the labels to the element names to determine where to put the data in the object array. Note that with coordinate format, there does not need to be data for every member of the set and the rows can be in any order. ​ (In the above example, US female and Mexico male are not in the file.) ​ However, the row labels in the import file must match the element names of the set.  TOOL matches the labels to the element names to determine where to put the data in the object array.
  
-=== allCoord=on ===+==== allCoord=on ​====
  
-If the allCoord parameter is set to on, all data are in a single column. ​ The import file would appear as follows:+If the allCoord parameter is set to on, all data are in a single column. ​ The import file may appear as follows:
  
 <​file>​ <​file>​
howtos/workwithdata/coordexample.1263917629.txt.gz · Last modified: 2010/01/19 16:13 by deryn.crockett