|
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
|