Reading .sav (SPSS) files

Hello,

how can I read .sav files to KNIME 3.1.2?

BR Silke

Use R snippet with haven package.

Or, if you can afford to spend some money, you can buy StatTransfer, a very handy and flexible conversion program. External Tool node will then be the solution in KNIME.

1 Like

Silke,

Library "foreign" in R works as well - two lines of R script and you're there. :)

library(foreign)
read.spss(filepath)

Cheers
E

3 Likes

here below you'll find Hadley Wickham's comparison between foreign and haven, including documentation for the latter:

https://github.com/hadley/haven/blob/master/README.md

 

Hi,

i have this error:
re-encoding from UTF-8

Hi @Benedetta and welcome to the forum.

Can you provide more info on your problem? What method are you using to import .sav files - the R script suggested above, or something else? Where is your error originating?

1 Like