📜  在 R 中将 sav 文件转换为 excel - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:25.692000             🧑  作者: Mango

代码示例1
library(haven)
library(readr)

HNIR62FL_data_2 <- read_sav("~/DHS/HNIR62SV/HNIR62FL_data_2.SAV")
getwd() # this is the folder it will save into unless you specify otherwise in the path below
write_csv(x=HNIR62FL_data_2, path="from_sav_data.csv")