[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Importing values and labels?
From: |
Karel Novotny |
Subject: |
Re: Importing values and labels? |
Date: |
Sun, 05 Sep 2010 16:51:32 -0300 |
On Sun, 2010-09-05 at 07:33 +0000, John Darrington wrote:
> 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?
I am sure it is a very good suggestion, but only for those with some
(probably basic) programming skills which I don't have.
karel
> 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'
>