rename_variables
Rename variables or change their long names in STATISTICA .sta/.stw files by current name or index, optionally saving results or editing a live session.
Instructions
Rename variables and/or change their long names, keyed by current variable name or index.
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. | |
| sheet | No | ||
| attach | No | Attach to the already-running STATISTICA instance and edit it live (no new process, the app is not closed). | |
| renames | Yes | Map of old name or index -> new short name. | |
| longNames | No | Map of current name or index -> new long name. |