Skip to content

Commit 28e67e8

Browse files
committed
update doc
1 parent 0a16f43 commit 28e67e8

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

src/features/2.metrics.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,31 @@ The table to store the metric report records
6464
* `count` : how many data have we gone through to do the calculation
6565
* `created` : date when the record gets calculated
6666

67+
## Metric Types
68+
69+
<table>
70+
<tr>
71+
<th>data_source</th>
72+
<th>data_type</th>
73+
<th>aggregation</th>
74+
<th>description</th>
75+
</tr>
76+
<tr>
77+
<td rowspan="3">question</td>
78+
<td rowspan="3">scalar</td>
79+
<td>average</td>
80+
<td>The average value of the weight of the question choice</td>
81+
</tr>
82+
<tr>
83+
<td>sum</td>
84+
<td>The sum value of the weight of the question choice</td>
85+
</tr>
86+
<tr>
87+
<td>count</td>
88+
<td>Count how many users have answered this question</td>
89+
</tr>
90+
</table>
91+
6792
## Workflow
6893

6994
### Create metric

0 commit comments

Comments
 (0)