@@ -51,17 +51,21 @@ Each metric property returns a list of `MetricData` namedtuples with the structu
51
51
52
52
>> > institution_metrics.CitationCount
53
53
[MetricData(entity_id = 309021 , entity_name = ' Humboldt University of Berlin' , metric = ' CitationCount' ,
54
- metric_type = None , year = ' all' , value = 368527 , percentage = None , threshold = None )]
54
+ metric_type = ' CitationCount' , year = ' all' , value = 368527 , percentage = None , threshold = None )]
55
+
56
+ For ** nested metrics** (like CollaborationImpact), `metric_type` contains the main category and `metric` contains the specific sub- type :
57
+
58
+ .. code- block:: python
55
59
56
60
>> > institution_metrics.CollaborationImpact
57
- [MetricData(entity_id = 309021 , entity_name = ' Humboldt University of Berlin' , metric = ' CollaborationImpact ' ,
58
- metric_type = ' Institutional collaboration ' , year = ' all' , value = 8.610204 , percentage = None , threshold = None ),
59
- MetricData(entity_id = 309021 , entity_name = ' Humboldt University of Berlin' , metric = ' CollaborationImpact ' ,
60
- metric_type = ' International collaboration ' , year = ' all' , value = 22.430689 , percentage = None , threshold = None ),
61
- MetricData(entity_id = 309021 , entity_name = ' Humboldt University of Berlin' , metric = ' CollaborationImpact ' ,
62
- metric_type = ' National collaboration ' , year = ' all' , value = 9.935493 , percentage = None , threshold = None ),
63
- MetricData(entity_id = 309021 , entity_name = ' Humboldt University of Berlin' , metric = ' CollaborationImpact ' ,
64
- metric_type = ' Single authorship ' , year = ' all' , value = 3.187361 , percentage = None , threshold = None )]
61
+ [MetricData(entity_id = 309021 , entity_name = ' Humboldt University of Berlin' , metric = ' Institutional collaboration ' ,
62
+ metric_type = ' CollaborationImpact ' , year = ' all' , value = 8.610204 , percentage = None , threshold = None ),
63
+ MetricData(entity_id = 309021 , entity_name = ' Humboldt University of Berlin' , metric = ' International collaboration ' ,
64
+ metric_type = ' CollaborationImpact ' , year = ' all' , value = 22.430689 , percentage = None , threshold = None ),
65
+ MetricData(entity_id = 309021 , entity_name = ' Humboldt University of Berlin' , metric = ' National collaboration ' ,
66
+ metric_type = ' CollaborationImpact ' , year = ' all' , value = 9.935493 , percentage = None , threshold = None ),
67
+ MetricData(entity_id = 309021 , entity_name = ' Humboldt University of Berlin' , metric = ' Single authorship ' ,
68
+ metric_type = ' CollaborationImpact ' , year = ' all' , value = 3.187361 , percentage = None , threshold = None )]
65
69
66
70
** Available Metric Properties** :
67
71
@@ -133,8 +137,8 @@ You can retrieve all available metrics in a single list using the `all_metrics`
133
137
<th >0</th >
134
138
<td >309021</td >
135
139
<td >Humboldt University of Berlin</td >
136
- <td >AcademicCorporateCollaboration</td >
137
140
<td >Academic-corporate collaboration</td >
141
+ <td >AcademicCorporateCollaboration</td >
138
142
<td >all</td >
139
143
<td >1015.000000</td >
140
144
<td >4.469594</td >
@@ -144,8 +148,8 @@ You can retrieve all available metrics in a single list using the `all_metrics`
144
148
<th >1</th >
145
149
<td >309021</td >
146
150
<td >Humboldt University of Berlin</td >
147
- <td >AcademicCorporateCollaboration</td >
148
151
<td >No academic-corporate collaboration</td >
152
+ <td >AcademicCorporateCollaboration</td >
149
153
<td >all</td >
150
154
<td >21694.000000</td >
151
155
<td >95.530410</td >
@@ -155,8 +159,8 @@ You can retrieve all available metrics in a single list using the `all_metrics`
155
159
<th >2</th >
156
160
<td >309021</td >
157
161
<td >Humboldt University of Berlin</td >
158
- <td >AcademicCorporateCollaborationImpact</td >
159
162
<td >Academic-corporate collaboration</td >
163
+ <td >AcademicCorporateCollaborationImpact</td >
160
164
<td >all</td >
161
165
<td >59.104435</td >
162
166
<td >NaN</td >
@@ -166,8 +170,8 @@ You can retrieve all available metrics in a single list using the `all_metrics`
166
170
<th >3</th >
167
171
<td >309021</td >
168
172
<td >Humboldt University of Berlin</td >
169
- <td >AcademicCorporateCollaborationImpact</td >
170
173
<td >No academic-corporate collaboration</td >
174
+ <td >AcademicCorporateCollaborationImpact</td >
171
175
<td >all</td >
172
176
<td >14.222181</td >
173
177
<td >NaN</td >
0 commit comments