*! version 1.0.0 10oct2019
help md2ddi2_5

Title

md2ddi2_5 -- Convert metadata file to DDI 2.5 compliant xml file.

Table of contents

Syntax
Description
Acknowledgements
Author

Syntax

md2ddi2_5 input(filename) output(filename) [replace relation]

Arguments

input specifies the meta data file which is converted to DDI2.5 compliant xml.

output specifies where the DDI2.5 compliant xml file is saved.

replace specifies if output file replaces existing file.

relation specifies that a relation among variables has been specified, i.e. the mother in the meta data file can be processed accordingly.

Description

md2ddi2_5 convert metadata file created by dta2md to a DDI 2.5 compliant xml file. If no group variable is used,
there is one variable element that contains information for the whole sample. If a group variable used, there is - in addition to the variable
element for the whole sample - a variable element for each level of the group variable. If dependencies between variables have been defined using the relation option,
these are presented in the DDI xml file as <varGrp> (variable groups). The variable groups have an unique id and contain the main
variable as well as all associated variables in the "var"-attribute. In the case that the group option (to compute separate frequencies and descriptive statistics along the categories of a defined variable)
was additionally used while creating the meta-file, the above mentioned aggregation will be made first for the value-specific main and the associated variables.

Acknowledgments

Anne Balz

Authors

Florian Thirolf, GESIS, florian.pforr@gesis.org
Klaus Pforr, GESIS, klaus.pforr@gesis.org