spss_filter
Apply a reversible temporary case filter using a 0/1 variable in SPSS. Set to none to remove the filter.
Instructions
Temporarily filter cases by a 0/1 variable (reversible, unlike SELECT IF). filter_variable=None turns the filter off. Requires IBM SPSS Statistics.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "spss_filter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| filter_variable | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |