help for preparation

Title

preparation -- module which allows an one-by-one observation of varlist to make it easier to control data and labels or just to have a closer look at it.

Syntax

preparation [varlist] [, numlabels strings nomiss limit(numlist)]

Description

Preparation loops through all variables in the varlist and displays a table of contents of each of those variable. Since display of the output breaks after each variable this script makes it easier to control data and labels of the dataset or just to take a closer look at data. The ado also automatically leaves out string variables and displays missing values. Both options can be switched on and off of course. Furthermore it allows to leave out variables which consist of more than a user defined number of rows.

Options

numlabels temporarily adds numlabels to the output of each of the variables.

strings By default string variables become omitted. By choosing the strings option string variables will be included again.

nomiss By default missing values are display. Choosing this option will hide them.

limit(numlist) Do not want lengthy variables? Add a numlist with the limit options and only variables with a lower equal number of rows will be displayed.

Acknowledgement

The page clearing part of the ado is based on Nick J. Cox code on Statalist.

Author

Johannes N. Blumenberg

University of Mainz (Germany)

Department of Political Science

Methods of Empirical Political Science

blumenberg@politik.uni-mainz.de