Displaying 1 result from an estimated 1 matches for "gss2006".
2009 Mar 03
1
SPSS data import: problems & work arounds for GSS surveys
...y NORC (National Opinion Research Center). I have
downloaded some years of the survey data in SPSS format (here's the
site: http://www.norc.org/GSS+Website/Download/SPSS+Format/). When I
try to import using foreign, I get an error like so:
> library(foreign)
> dat <- read.spss("gss2006.sav", to.data.frame=T, trim.factor.names=T)
Error in inherits(x, "factor") : object "cp" not found
In addition: Warning messages:
1: In read.spss("gss2006.sav", to.data.frame = T, trim.factor.names = T) :
gss2006.sav: File contains duplicate label for value 99.9...