spss_match_files
Merge multiple SPSS .sav files by key variables to combine variables into a single dataset. Requires IBM SPSS Statistics.
Instructions
Combine variables across files (join by key): MATCH FILES. file_paths: >=2 .sav files; key_variables: BY variables (files must be sorted on them). output_path: merged result file. 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_paths": "<file_paths>"
},
"name": "spss_match_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drop | No | ||
| keep | No | ||
| file_paths | Yes | ||
| output_path | No | merged.sav | |
| key_variables | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |