pspp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Importing values and labels?


From: John Darrington
Subject: Re: Importing values and labels?
Date: Sun, 5 Sep 2010 07:33:41 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

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 <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]