@miao-vision/cli 0.1.8 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +1218 -129
- package/dist/examples/campaign-data.csv +33 -0
- package/dist/examples/campaign-report-deck.yaml +115 -0
- package/dist/examples/executive-overview-deck.yaml +137 -0
- package/dist/examples/executive-overview.csv +37 -0
- package/dist/types.ts +10 -1
- package/examples/campaign-data.csv +33 -0
- package/examples/campaign-report-deck.yaml +115 -0
- package/examples/executive-overview-deck.yaml +137 -0
- package/examples/executive-overview.csv +37 -0
- package/package.json +1 -1
- package/dist/examples/sales-dashboard.yaml +0 -54
- package/examples/sales-dashboard.yaml +0 -54
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
title: Sales Dashboard
|
|
2
|
-
description: Example Miao Vision report generated from sales.csv.
|
|
3
|
-
charts:
|
|
4
|
-
- type: bigvalue
|
|
5
|
-
title: Total Sales
|
|
6
|
-
data:
|
|
7
|
-
transform:
|
|
8
|
-
- type: aggregate
|
|
9
|
-
measures:
|
|
10
|
-
- field: sales
|
|
11
|
-
op: sum
|
|
12
|
-
as: total_sales
|
|
13
|
-
encoding:
|
|
14
|
-
value:
|
|
15
|
-
field: total_sales
|
|
16
|
-
- type: line
|
|
17
|
-
title: Monthly Sales Trend
|
|
18
|
-
data:
|
|
19
|
-
transform:
|
|
20
|
-
- type: derive-month
|
|
21
|
-
field: order_date
|
|
22
|
-
as: order_month
|
|
23
|
-
- type: aggregate
|
|
24
|
-
groupBy: [order_month]
|
|
25
|
-
measures:
|
|
26
|
-
- field: sales
|
|
27
|
-
op: sum
|
|
28
|
-
as: total_sales
|
|
29
|
-
- type: sort
|
|
30
|
-
field: order_month
|
|
31
|
-
order: asc
|
|
32
|
-
encoding:
|
|
33
|
-
x:
|
|
34
|
-
field: order_month
|
|
35
|
-
y:
|
|
36
|
-
field: total_sales
|
|
37
|
-
- type: bar
|
|
38
|
-
title: Sales by Region
|
|
39
|
-
data:
|
|
40
|
-
transform:
|
|
41
|
-
- type: aggregate
|
|
42
|
-
groupBy: [region]
|
|
43
|
-
measures:
|
|
44
|
-
- field: sales
|
|
45
|
-
op: sum
|
|
46
|
-
as: total_sales
|
|
47
|
-
- type: sort
|
|
48
|
-
field: total_sales
|
|
49
|
-
order: desc
|
|
50
|
-
encoding:
|
|
51
|
-
x:
|
|
52
|
-
field: region
|
|
53
|
-
y:
|
|
54
|
-
field: total_sales
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
title: Sales Dashboard
|
|
2
|
-
description: Example Miao Vision report generated from sales.csv.
|
|
3
|
-
charts:
|
|
4
|
-
- type: bigvalue
|
|
5
|
-
title: Total Sales
|
|
6
|
-
data:
|
|
7
|
-
transform:
|
|
8
|
-
- type: aggregate
|
|
9
|
-
measures:
|
|
10
|
-
- field: sales
|
|
11
|
-
op: sum
|
|
12
|
-
as: total_sales
|
|
13
|
-
encoding:
|
|
14
|
-
value:
|
|
15
|
-
field: total_sales
|
|
16
|
-
- type: line
|
|
17
|
-
title: Monthly Sales Trend
|
|
18
|
-
data:
|
|
19
|
-
transform:
|
|
20
|
-
- type: derive-month
|
|
21
|
-
field: order_date
|
|
22
|
-
as: order_month
|
|
23
|
-
- type: aggregate
|
|
24
|
-
groupBy: [order_month]
|
|
25
|
-
measures:
|
|
26
|
-
- field: sales
|
|
27
|
-
op: sum
|
|
28
|
-
as: total_sales
|
|
29
|
-
- type: sort
|
|
30
|
-
field: order_month
|
|
31
|
-
order: asc
|
|
32
|
-
encoding:
|
|
33
|
-
x:
|
|
34
|
-
field: order_month
|
|
35
|
-
y:
|
|
36
|
-
field: total_sales
|
|
37
|
-
- type: bar
|
|
38
|
-
title: Sales by Region
|
|
39
|
-
data:
|
|
40
|
-
transform:
|
|
41
|
-
- type: aggregate
|
|
42
|
-
groupBy: [region]
|
|
43
|
-
measures:
|
|
44
|
-
- field: sales
|
|
45
|
-
op: sum
|
|
46
|
-
as: total_sales
|
|
47
|
-
- type: sort
|
|
48
|
-
field: total_sales
|
|
49
|
-
order: desc
|
|
50
|
-
encoding:
|
|
51
|
-
x:
|
|
52
|
-
field: region
|
|
53
|
-
y:
|
|
54
|
-
field: total_sales
|