Closed csnisiotis closed 4 years ago
Am Donnerstag, den 21.05.2020, 03:17 -0700 schrieb csnisiotis:
I want to import a SPSS file (*.sav) to R and I guess that memisc is the best available package for that. However, I'm facing two issues - probably due to my low R skills - and any help would be greatly appreciated. Firstly, measure information "Ordinal", defined in the SPSS file, is skipped when imported in R and ordinal variables are declared as "Nominal". In addition the SPSS file has two extra Attributes (two custom columns added in Variable View) that are not imported when memisc importer is used.
In the most recent release available on GitHub (see https://github.com/melff/memisc/releases/tag/0.99.24), the measure information about variables in an SPSS file is now used by the memisc importer to set the measurement level ("nominal" becomes "nominal", "ordinal" becomes "ordinal", and "scale" becomes "interval"). The other two columns in the variable view are not considered by the importer, because they do not have a counterpart in R. Neither did they have any consequences for data analysis in SPSS itself as far as I can remember.
I wonder if any of the above issues is treated successfully with memisc. Thanks in advanced. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Thank you @melff for your answer, I can get measure info correctly. It seems that I didn't have the latest version.
Indeed, extra attributes are not that functional in SPSS, however there is also some information available that it could be useful. Anyway, this could be an add-on in a later version.
Thank you very much.
I want to import a SPSS file (*.sav) to R and I guess that memisc is the best available package for that. However, I'm facing two issues - probably due to my low R skills - and any help would be greatly appreciated.
Firstly, measure information "Ordinal", defined in the SPSS file, is skipped when imported in R and ordinal variables are declared as "Nominal". In addition the SPSS file has two extra Attributes (two custom columns added in Variable View) that are not imported when memisc importer is used.
I wonder if any of the above issues is treated successfully with memisc.
Thanks in advanced.