On Thu, Sep 02, 2010 at 01:24:46PM -0300, Karel Novotny wrote:
     On Wed, 2010-09-01 at 14:35 -0700, Ben Pfaff wrote:
     > Karel Novotny <[email protected]> writes:
     
     
     > > Is there a simple way of importing values from a csv or other file, 
     > > as opposed to typing them all up through the interface.
     
     > Short of that, I would suggest writing a script that transforms
     > the CSV data into a series of VALUE LABELS or ADD VALUE LABELS
     > commands.
     
     I am throwing it here once more because I am realizing I have near 300
     values which means a day of work at least.
     
     If anyone has any suggestion about how to unify their syntax so I could
     e.g. paste them into portable file (if not import properly), I would
     appreciate it.
     
What's wrong with Ben's suggestion?  A Shell/Perl/VB script to create bunch
of ADD VALUE LABEL commands might not be the most elegent solution, but would
take perhaps a hour to do.

J'

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature

_______________________________________________
Pspp-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-users

Reply via email to