APPLY DICTIONARY
Copies dictionary information (labels, value labels, missing values, levels, formats, attributes) from another dataset or file to matching variables.
Syntax
Section titled “Syntax”APPLY DICTIONARY FROM='file' | dataset [/SOURCE VARIABLES=varlist] [/TARGET VARIABLES=varlist] [/VARINFO VARLABEL VALLABELS=REPLACE|MERGE MISSING LEVEL FORMATS ATTRIBUTES ALIGNMENT WIDTH ROLE ALL] [/FILEINFO FILELABEL DOCUMENTS ATTRIBUTES WEIGHT ALL].Synopsis
Section titled “Synopsis”| Kind | Dictionary (variable properties) |
| Body | free-form body |
| Changes data | yes, undoable |
Examples
Section titled “Examples”APPLY DICTIONARY FROM='master.sav' /VARINFO VARLABEL VALLABELS=MERGE MISSING.- Variables are matched by name; one /SOURCE variable can be applied to several /TARGET variables.
- Value labels and missing values are skipped (with a warning) when the types differ.
Related
Section titled “Related”VARIABLE ATTRIBUTE, VALUE LABELS
Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.