2 years ago
#54614
Madamadam
File format that holds information about categorical data (i.e. factor levels) and is readable by SPSS
I'm doing data cleaning of survey data in R, but at the end I have to export it into a format that is readable by SPSS. When I export data from R as CSV, categorical data with already defined factor levels is treated as simple text and therefore I have to tell SPSS to transform it to categorical data again – which is annoying. Is there a way to keep data type information in a data file? Which file format is suitable?
r
spss
categorical-data
0 Answers
Your Answer