syntax in generating variable name, type, label values, etc

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

syntax in generating variable name, type, label values, etc

E. Bernardo
Dear members,

Rather than typing manually in Excel, I want to use SPSS to quickly generate the following from my SPSS file with moe than a hundred of variables:  variable name, type, label, values, etc.

I browsed a syntax in the list a year ago (created by Marta or somebody) about this issue, but unfortunately I can no longer find it. 

May I ask your help about this matter?

Thank you.
Eins 

Reply | Threaded
Open this post in threaded view
|

Re: syntax in generating variable name, type, label values, etc

John F Hall

Eins

 

Have a look at the tutorials in Block 1 of Survey Analysis Workshop on my website.

http://surveyresearch.weebly.com/block-1-from-questionnaire-to-spss-saved-file.html especially the ones in 1.3 (Reading raw data) and 1.4 (Completing your data dictionary)

 

 

John F Hall (Mr)

 

Email:     [hidden email]

Website: www.surveyresearch.weebly.com

 

 

 

 

 

From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Eins Bernardo
Sent: 24 July 2012 08:46
To: [hidden email]
Subject: syntax in generating variable name, type, label values, etc

 

Dear members,

 

Rather than typing manually in Excel, I want to use SPSS to quickly generate the following from my SPSS file with moe than a hundred of variables:  variable name, type, label, values, etc.

 

I browsed a syntax in the list a year ago (created by Marta or somebody) about this issue, but unfortunately I can no longer find it. 

 

May I ask your help about this matter?

 

Thank you.

Eins 

 

Reply | Threaded
Open this post in threaded view
|

Re: syntax in generating variable name, type, label values, etc

David Marso
Administrator
In reply to this post by E. Bernardo
display dictionary.
?
Eins Bernardo wrote
Dear members,

Rather than typing manually in Excel, I want to use SPSS to quickly generate the following from my SPSS file with moe than a hundred of variables:  variable name, type, label, values, etc.

I browsed a syntax in the list a year ago (created by Marta or somebody) about this issue, but unfortunately I can no longer find it. 

May I ask your help about this matter?

Thank you.
Eins 
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
Reply | Threaded
Open this post in threaded view
|

Re: syntax in generating variable name, type, label values, etc

Jon K Peck
In reply to this post by E. Bernardo
I'm not sure what you want here, but if you just want to be able to apply the metadata from one sav file to another, look at APPLY DICTIONARY.  If you just want to display all this, try CODEBOOK or the older DISPLAY DICTIONARY.  If you want to generate a regular syntax file that would reproduce the metadata, a small amount of Python code would do it.

Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
new phone: 720-342-5621




From:        Eins Bernardo <[hidden email]>
To:        [hidden email]
Date:        07/24/2012 12:51 AM
Subject:        [SPSSX-L] syntax in generating variable name, type, label values,              etc
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Dear members,

Rather than typing manually in Excel, I want to use SPSS to quickly generate the following from my SPSS file with moe than a hundred of variables:  variable name, type, label, values, etc.

I browsed a syntax in the list a year ago (created by Marta or somebody) about this issue, but unfortunately I can no longer find it.

May I ask your help about this matter?

Thank you.
Eins

Reply | Threaded
Open this post in threaded view
|

Re: syntax in generating variable name, type, label values, etc

Robin M. Marr
In reply to this post by E. Bernardo
Hi Eins,

I work for a survey based organization and we're constantly creating data dictionaries...the problem we had with Apply Dictionary was the fact that value labels show up in a separate tables.... and with large data files, this becomes quite tedious.

Anyhow, this software puts the variables and values in the same table by default, so I've just been using that to get a pdf or word doc. I know they offer a free trial on their website if you want to give it a try.

Here's the link:  http://www.datamagnet.ca


Take care,
Robin