[skgIF] added indicator citation count

This commit is contained in:
Miriam Baglioni 2024-06-26 14:46:07 +02:00
parent ed754e05d2
commit a5568755f4
1 changed files with 9 additions and 1 deletions

View File

@ -64,7 +64,15 @@ public class ResultMapper implements Serializable {
if (m.getId().equals("influence_alt")) {
impact
.setCitationCount(
Integer.getInteger(m.getUnit().stream().filter(u -> u.getKey().equals("score")).findFirst().get().getValue()));
Integer
.getInteger(
m
.getUnit()
.stream()
.filter(u -> u.getKey().equals("score"))
.findFirst()
.get()
.getValue()));
}
});