加载数据文件
jasp_load_dataLoads local CSV, TSV, or JSON data into a JASP session, creates the variable dictionary, and returns a session_id required by later analysis tools.
Instructions
从本地路径加载 CSV/TSV/JSON 数据,建立变量字典与会话。返回 session_id,后续工具都要带上它。
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": {
"path": "<path>"
},
"name": "jasp_load_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 数据快照名,默认取文件名 | |
| path | Yes | 数据文件绝对路径(支持 .csv/.tsv/.json;.sav 需先转 CSV) | |
| types | No | 手动覆盖变量类型,例如 {"gender":"nominal"} | |
| session_id | No | 复用已有会话;不传则新建 |