LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2008)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 19 May 2008 13:12:44 -0400
Reply-To:     Art@DrKendall.org
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Art Kendall <Art@DrKendall.org>
Organization: Social Research Consultants
Subject:      Urgent need: PYTHON app   saving Version 16 variable views as
              .sav files
Content-type: text/plain; charset=ISO-8859-1; format=flowed

I haven't had time yet to get PYTHON under my belt. However I believe this should be a straight forward PYTHON application.

I have a few hundred files (several years for each US State). I would like to concatenate the variable view information into a single file. What I would like to end up with is a system file with a variable for the name of the source file and variables for the name, type, . . . decimals. The result would be one file with "stacked" variable views.

If there were a PYTHON wrapper, it would take each file in a list, extract the variable view information, add a column containing the name of the file, and concatenate the info into a system data file as a "master file".

source Position Name Type . . . decimals AL2004.sas7bdat 1 ID string . . . AL2004.sas7bdat 2 State string . . . AK2004.sas7bdat 3 County string . . . AK2003.sas7bdat 4 Zip numeric . . . WV2005.sas7bdat 500 Math numeric . . .

Please let me know if you can do this. Shall we say the same rate as last time?

Also please send me your SSN and address for the 1099.

Art Kendall Social Research Consultants

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD


Back to: Top of message | Previous page | Main SPSSX-L page