Displaying 1 result from an estimated 1 matches for "ess3e03_2".
2009 Nov 13
1
spss imports--trouble with to.data.frame
...oo. This is the 2004 data, for example:
http://ess.nsd.uib.no/ess/round2/
I cannot give you the European Survey dataset, but you can download it
for free if you like, and then you could run these commands to
re-produce this weird pattern described below.
library(foreign)
d2 <- read.spss("ESS3e03_2.por")
warnings()
str(d2$HAPPY)
d2 <- as.data.frame(d2)
str(d2$HAPPY)
d2 <- read.spss("ESS3e03_2.por",to.data.frame=T)
warnings()
str(d2$HAPPY)
Here's my info for this example:
> sessionInfo()
R version 2.10.0 (2009-10-26)
x86_64-pc-linux-gnu
locale:
[1] LC_CTYPE=en...