Write Data From .SAV to .CSV (some data missing)

HI, when I write my sav file into csv(using read_sav and write.csv), some of the text in my header is missing. For example, each header is a question number with some subtext which describe the question in detail. After I write the data to csv the question number is still on the header, but the description is missing.
Is anyone encounter this problem before?

Try the haven library.

Hi, I did use the haven library. I don't know if I use it right though.
For my writer.csv() function I wrote like:
library(haven)
x=read_sav(path_name)
write.csv(x,"mydataform.csv")

Post an example? See the FAQ: How to do a minimal reproducible example reprex for beginners.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.