Changes between Version 6 and Version 7 of DespoinaLog/2011/02/03


Ignore:
Timestamp:
2011-02-03T12:44:24+01:00 (14 years ago)
Author:
antonak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DespoinaLog/2011/02/03

    v6 v7  
    2121
    2222= '''Another spss writer java library''' =
    23 '''!http://sourceforge.net/projects/spss-writer/'''
     23'''http://sourceforge.net/projects/spss-writer/'''
     24
     25= SPSS file format  =
     26{{{
     27male    37 102
     28male    22 115
     29male    27 99
     30....    .. ...
     31female  48 107
     32female  21 103
     33female  28 122
     34......  .. ...
     35
     36}}}
     37{{{
     38================================
     39}}}
     40{{{
     41In this specific example there are     
     42}}}
     43 1. There are 3 variables
     44 1. Variable 1 is a '' string '', Variable 2 and 3 are ''  numeric ''
     45 1. Variable 1: first column=1, last column=6
     46   * Notice that none of the columns overlap.  The longest case for  column one is the name "female", that spans from the first column to the sixth - or, the letter ''' e'''.  As you can see, one has to manually locate  the first and last column, of each variable.
     47 1. Variable 2: first column=9, last column=10
     48 1. Variable 3: first column=12, last column=14 
     49
     50{{{
     51-----------------------------
     52}}}
     53{{{
     54The corresponding variables are the columns that are selected by the user in the UI , this is returned by getColNames() , and the data of this matrix are returned by the matrix.getData(); 
     55}}}
     56
     57{{{
     58for example if the user has selected in the matrix viewer : PA_ID , ztgewicht and gewicht
     59}}}
     60{{{
     61the exported SPSS file should contain : 
     62}}}
     63{{{
     64PA_ID     1 2 3 4 3 7
     65}}}
     66{{{
     67{{{
     68ztgewicht 1 2 3 4 3 7
     69}}}
     70{{{
     71{{{
     72{{{
     73
     74}}}
     75gewicht   1 2 3 4 3 7
     76}}}
     77{{{
     78{{{
     79
     80}}}
     81
     82}}}
     83
     84}}}
     85
     86}}}
     87{{{
     88
     89
     90}}}
     91{{{
     92
     93}}}