Title

importlabels -- Create value labels from data in another data file

Syntax

importlabels varelist using path_el

Modifiers Description

(name[->new-name]) Original and (optional) new label names

Description

importlabels creates & assigns value labels in the current dataset, using data (not labels) in another dataset. The external dataset is assumed to be arranged:

Var1 Var2 Var3

name value label

For each label name specified as a modifier, the appropriate rows are read from the external file, and created as value labels in the current dataset (using new-name if specified).
That label is then assigned to all the modified variables.

Examples

importlabels (labname) var1-var5 using labelfile

importlabels (origname->newname) var1-var5 using labelfile