spss_select_if
Keeps only records that satisfy a condition and saves the filtered dataset as a new .sav file. Provide a file path, condition, and optional output path.
Instructions
Permanently keep only cases matching a condition: SELECT IF (condition). Use output_path to save the filtered result as a new .sav file. Requires IBM SPSS Statistics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition | Yes | ||
| file_path | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |