spss_run_syntax
Execute SPSS syntax commands and return results as Markdown. Optionally load a data file and persist viewer and syntax files for reproducible analysis.
Instructions
Execute arbitrary SPSS syntax commands and return the output as Markdown. Optionally specify a data_file to automatically prepend GET FILE. By default, this also persists .spv (SPSS viewer) and .sps (executed syntax) files. Requires IBM SPSS Statistics to be installed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| syntax | Yes | ||
| dry_run | No | ||
| data_file | No | ||
| select_if | No | ||
| filter_variable | No | ||
| save_syntax_file | No | ||
| save_viewer_output | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |