Sheet kit command
table.summarizePivot
Summarize with Pivot Table
Creates a pivot table from a table (default: the table at the active cell).
- Kit
- Sheet 0.1.0 (.xlsx (and opens .xlsm, .xls, .xltx, .csv, .ods, .xlsb))
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
columns | any[] | no | read by the command beside its listed parameters |
destination | string | no | a cell in A1 notation, or "new" for a new sheet |
filters | any[] | no | read by the command beside its listed parameters |
location | string | no | read by the command beside its listed parameters |
name | string | no | read by the command beside its listed parameters |
range | string | no | read by the command beside its listed parameters |
replace | boolean | no | read by the command beside its listed parameters |
rows | any | no | read by the command beside its listed parameters |
source | any | no | read by the command beside its listed parameters |
table | string | no | a table name; default: the table at the active cell |
values | any[] | no | read by the command beside its listed parameters |
Call through sheet_run
text
sheet_run {
"path": "<file>.xlsx",
"steps": [{ "command": "table.summarizePivot" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: columns, destination, filters, location, name, range, replace, rows, source, table, values. sheet_run answers the step’s result in completed[i].result.
Result
The kit gives no result schema for this command.
Parameter schema
json
{
"additionalProperties": false,
"properties": {
"columns": {
"description": "read by the command beside its listed parameters",
"type": "array"
},
"destination": {
"description": "a cell in A1 notation, or \"new\" for a new sheet",
"type": "string"
},
"filters": {
"description": "read by the command beside its listed parameters",
"type": "array"
},
"location": {
"description": "read by the command beside its listed parameters",
"type": "string"
},
"name": {
"description": "read by the command beside its listed parameters",
"type": "string"
},
"range": {
"description": "read by the command beside its listed parameters",
"type": "string"
},
"replace": {
"description": "read by the command beside its listed parameters",
"type": "boolean"
},
"rows": {
"description": "read by the command beside its listed parameters"
},
"source": {
"description": "read by the command beside its listed parameters"
},
"table": {
"description": "a table name; default: the table at the active cell",
"type": "string"
},
"values": {
"description": "read by the command beside its listed parameters",
"type": "array"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (sheet_commands through @kition/[email protected], built from KitionAI/kition-sheet@82f13b2). As data: commands.jsonl.