Create a numeric classification series and valmap from alpha series.
Syntax
alpha_name.makemap(options) ser_name map_name
creates a classification series ser_name and an associated valmap map_name in the workfile. The valmap will automatically be assigned to the series.
Options
prompt | Force the dialog to appear from within a program. |
nosort | Do not alphabetically sort the alpha series values before assigning the map (default is to sort). |
Examples
stateabbrev.makemap statecodes statemap
creates a series STATECODES containing numeric coded values representing the states in STATEABBREV, and an associated valmap STATEMAP.
Cross-references
See
“Alpha Series” for a discussion of alpha series and
“Value Maps” for a discussion of valmaps.