/
settings.yaml
44 lines (40 loc) · 1.12 KB
/
settings.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# default settings to be edited as required.
#
# Multiple pivot-reports are allowed with each one defined as follows -
#
# pid: the pivot-report identifier, a short unique string of alphanumerics
# source: the source of transaction data, either one of the following -
# command: a script or command to generate CSV data to stdout
# path : the path of a CSV file pre-generated by a 'ledger csv' command
# pivot: (optional)
# options: controls how the pivot table will display initially,
# overridden by state.pid.yaml file
#
drewr3:
source:
path: $EXAMPLE/drewr3.csv
pivot: &1 # the &1 allows other reports to use these settings using *1
options:
aggregatorName: Sum
cols:
- Year
- Month
rendererName: Table
rows:
- Account-Level-0
- Account-Level-1
vals:
- Amount
sample:
source:
path: $EXAMPLE/sample.csv
pivot: *1
wow:
source:
path: $EXAMPLE/wow.csv
pivot: *1
generated-by-command:
source:
command: ledger -f path-to-ledger-file csv # edit path as required
pivot: *1
# add more definitions as required