The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
SPSS or R file to Excel?
I downloaded a file of data (locations, phone numbers, etc.) from a website in both R and in SPSS. I need the data in Excel. I started off with Read SPSS and indicated the downloaded SPSS file in the "filename" parameter. Then connected the output to Write Excel. The result just says:
I'm going crazy over here. Any help would be appreciated. Thanks!
File
Memory buffered fileI'm going crazy over here. Any help would be appreciated. Thanks!

1
Best Answer
-
Hmm, that's tricky. I downloaded "delimited" file which is a CSV file and uploaded using read CSV in rapidminer and it worked perfectly. Not sure why the SPSS file is showing State which is a text column as numerics.
Regards,
Varun
https://www.varunmandalapu.com/Be Safe. Follow precautions and Maintain Social Distancing
6
Answers
-
When I run the Read SPSS Operator with the data set I downloaded, the results are all numerical...including the columns that should be text, like type of hospital, etc. Is there a parameter I need to change for this?1
-
Hello @Cash
Can you connect the "Thr" port of write excel to "Res" port of process and run it.
You can also mention the location on your computer where you want to store this excel
Please inform us if you still have issues.Regards,
Varun
https://www.varunmandalapu.com/Be Safe. Follow precautions and Maintain Social Distancing
1 -
Oh yeah sorry for that. Yep its the "Res"Regards,
Varun
https://www.varunmandalapu.com/Be Safe. Follow precautions and Maintain Social Distancing
1 -
Hi @varunm1,
I connected the thr node to res and ran the process, but I'm still just getting numerical values instead of text. Do you think the file is fouled? Here's what I have:

The link to the data is here: https://www.datafiles.samhsa.gov/study-dataset/national-survey-substance-abuse-treatment-services-2018-n-ssats-2018-ds0001-nid18765
It's the SPSS file under Data Downloads. If you run this, are you seeing the same numerical representation as I am above?1 -
Regards,
Varun
https://www.varunmandalapu.com/Be Safe. Follow precautions and Maintain Social Distancing
2 -
OMG, how embarrassing. Well if "delimited" downloads as a CSV, then I'm good for now. lol . I was trying to get this data in csv or xlsx form, so it looks like this solves my problem. Thanks so much for the help!2
-
Haha ya, sometimes we skip small things and it happens to all of us. I don't have spss installed to take a look at the raw file. But it is a good question to check if there is any discrepancy in importing.Regards,
Varun
https://www.varunmandalapu.com/Be Safe. Follow precautions and Maintain Social Distancing
2
Contributor II
Unicorn