value_labels
Attach or clear text labels for numeric values of a variable in STATISTICA data files, optionally removing existing labels first before applying new ones.
Instructions
Attach or clear text labels for the numeric values of a variable. labels maps a numeric value to a label string or an object {label, description}; clear removes existing labels first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the source file. | |
| save | No | Optional destination path to persist the result as .sta. | |
| clear | No | Remove existing value labels before applying. Default false. | |
| sheet | No | ||
| attach | No | Attach to the already-running STATISTICA instance and edit it live (no new process, the app is not closed). | |
| labels | No | Map of numeric value -> label string or {label, description}. | |
| variable | Yes | Variable name or 1-based index. |