&key isn't valid?
This commit is contained in:
@@ -23,21 +23,14 @@
|
|||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
(defun pt-build (source &key rows cols vals)
|
(defun pt-build (source &rest params)
|
||||||
"Build a pivot table
|
"Build a pivot table
|
||||||
|
|
||||||
The SOURCE value should be the table the data is being taken
|
|
||||||
from. ROWS and COLS should be lists of column references from
|
|
||||||
the source table to be used as rows and columns for the pivot
|
|
||||||
table. These can either be integers representing the column
|
|
||||||
number, or strings representing column names.
|
|
||||||
|
|
||||||
VALUES should be a list containing information about the values
|
|
||||||
in the body of the pivot table. Each element of the list should
|
|
||||||
be in the following format (REF FUNC &optional LABEL).
|
|
||||||
|
|
||||||
TODO: more documentation"
|
TODO: more documentation"
|
||||||
(let ((col-index (pt-get-columns source))
|
(let* ((rows (assoc :rows params))
|
||||||
|
(cols (assoc :cols params))
|
||||||
|
(vals (assoc :vals params))
|
||||||
|
(col-index (pt-get-columns source))
|
||||||
(index (pt-column-names source))
|
(index (pt-column-names source))
|
||||||
src-cols
|
src-cols
|
||||||
(src-body (pt-get-body source))
|
(src-body (pt-get-body source))
|
||||||
|
|||||||
Reference in New Issue
Block a user