Using R to extract DDI from various data formats
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
demo
examples
inst/tests
man
templates
test
tests
.gitignore
DESCRIPTION
NAMESPACE
README.md

README.md

r2ddi

r2ddi is supposed to produce DDI 2.5 compliant XML from datasets in CSV, Stata and SPSS format.

Currently, only the import for Stata is fully implemented.

Simple to use

To extract the metadata from multiple Stata files (all located in one directory) into DDI-compliant XML files, the following two lines of code are sufficient:

library("r2ddi")
dir2xml(path_in="your/path/here", path_out="your/path/here")