|
From: | Frans Houweling |
Subject: | Re: copying labels from an old variable to a new one. |
Date: | Tue, 11 Mar 2025 09:43:56 +0100 |
User-agent: | Mozilla Thunderbird |
Hi ftr,
one way to achieve this would be like this (of course the new names are up to you):
GET FILE = 'EVS 2017 short.sav'.Hth, frans
SAVE OUTFILE = 'temp.sav' /KEEP = country NUTS1 NUTS2
/RENAME = (country NUTS1 NUTS2 = nation regional regional2).
MATCH FILES FILE = * /FILE = 'temp.sav'.
EXECUTE.
ERASE FILE = 'temp.sav'.
Hi,
I try to create a new variable on the basis of another one and copy the value labels from one variable to the other. To my surprise, this does not work here.
GET FILE ="EVS 2017 short.sav".
freq nuts1.
comp regional = nuts1.
freq regional.Regional has not received the value labels of nuts1.
How can I achieve this by syntax ? I don't want to retype the labels of all 123 European regions which exist already in the data set.
Thanks in advance
ftr
J’ai lié un fichier à ce message :
- EVS 2017 short.sav
Taille : 41,0 Ko
Date d’expiration : 11/03/2025 19:38 UTC+1
Limite de téléchargement : 7
Thunderbird Send
Lien : https://send.vis.ee/download/7a899694af7e25b0/#PoimZ1fSYlmUsQ-68r0DhA
[Prev in Thread] | Current Thread | [Next in Thread] |