Skip to content

Commit cc75508

Browse files
committed
update doc
1 parent b564136 commit cc75508

File tree

1 file changed

+48
-6
lines changed

1 file changed

+48
-6
lines changed

src/features/2.metrics.md

Lines changed: 48 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ Relationship between a metric and a data source link in an experience
4949
* `metric_id`
5050
* `data_source_id` : the related data source id
5151
* When `data_source` = `question`, this id is the question id
52+
* When `data_source` = `assessment`, this id is the assessment id
53+
* When `data_source` = `user` or `pulse-check`, this id is the experience id
5254
* `experience_id`
5355
* `institution_id`
5456
* `calculation_frequency` : when to calculate the metrics
@@ -66,18 +68,23 @@ The table to store the metric report records
6668

6769
## Metric Types
6870

71+
Each combination of data source and data type represents a different metric calculation approach. Below is a comprehensive list of all supported data source and data type combinations:
72+
6973
<table>
7074
<tr>
7175
<th>data_source</th>
7276
<th>data_type</th>
7377
<th>aggregation</th>
7478
<th>description</th>
79+
<th>report type</th>
7580
</tr>
81+
7682
<tr>
77-
<td rowspan="3">question</td>
78-
<td rowspan="3">scalar</td>
83+
<td rowspan="4">question</td>
84+
<td rowspan="4">scalar</td>
7985
<td>average</td>
8086
<td>The average value of the weight of the question choice</td>
87+
<td rowspan="9">circle number,<br/>card,<br/>table</td>
8188
</tr>
8289
<tr>
8390
<td>sum</td>
@@ -88,16 +95,51 @@ The table to store the metric report records
8895
<td>Count how many users have answered this question</td>
8996
</tr>
9097
<tr>
91-
<td>assessment</td>
92-
<td>submitted</td>
93-
<td>count</td>
98+
<td>net-promoter</td>
99+
<td>Calculate the net promoter of the question. (only available for choice weight 1-5 or 1-10)</td>
100+
</tr>
101+
102+
<tr>
103+
<td rowspan="2">assessment</td>
104+
<td>submitted-user</td>
105+
<td rowspan="2">count</td>
94106
<td>Count how many users have submitted this assessment</td>
95107
</tr>
96108
<tr>
97-
<td>pulse_check</td>
109+
<td>submitted-team</td>
110+
<td>Count how many teams have submitted this assessment</td>
111+
</tr>
112+
113+
<tr>
114+
<td rowspan="5">user</td>
115+
<td>participant</td>
116+
<td rowspan="5">count</td>
117+
<td>The total number of learners</td>
118+
</tr>
119+
<tr>
120+
<td>mentor</td>
121+
<td>The total number of experts</td>
122+
</tr>
123+
<tr>
124+
<td>team</td>
125+
<td>The total number of teams</td>
126+
</tr>
127+
<tr>
128+
<td>gender</td>
129+
<td>The gender distribution of learners</td>
130+
<td rowspan="2">pie chart</td>
131+
</tr>
132+
<tr>
133+
<td>nationality</td>
134+
<td>The nationality distribution of learners</td>
135+
</tr>
136+
137+
<tr>
138+
<td>pulse-check</td>
98139
<td>skills</td>
99140
<td>average</td>
100141
<td>The average skills growth of the experience</td>
142+
<td>bar chart</td>
101143
</tr>
102144
</table>
103145

0 commit comments

Comments
 (0)