spssDDI-package {spssDDI}R Documentation

A package to read SPSS files and produce valid DDI Version 3.0 XML documents

Description

There are two functions included in this package:

readSpssSav reads the metadata inside a SPSS System file and optionally the actual data.

writeDDI produces a valid DDI Version 3.0 XML document from readSpssSav output.

Details

The SPSS System file format is described in ‘pspp-dev.pdf’ (http://www.gnu.org/software/pspp/). PSSP is a program for statistical analysis of sampled data.

SPSS System files are also described in SPSSReader (http://forge.opendatafoundation.org/gf/project/ukda_dext/frs/).

The Data Documentation Initiative (http://www.ddialliance.org/) is an international effort to establish a standard for technical documentation describing social science data.

spssDDI is a work in progress. The author welcomes questions, comments and code submissions.

Author(s)

Guido Gay

Maintainer: <gay@irer.it>

References

DDI
http://www.ddialliance.org/
PSPP
http://www.gnu.org/software/pspp/
SPSSReader
http://forge.opendatafoundation.org/gf/project/ukda_dext/frs/

Examples

## Not run: 
benchmark<-readSpssSav("benchmarkSpss16.sav")
writeDDI(benchmark,"benchmarkSpss16.sav")

essSample<-readSpssSav("essSample.sav")
sink("essSample.xml")
writeDDI(essSample,"essSample.sav")
sink()
## End(Not run)

[Package spssDDI version 0.1.1 Index]