From a5568755f4886a0b88de7d601c629741441a8128 Mon Sep 17 00:00:00 2001 From: Miriam Baglioni Date: Wed, 26 Jun 2024 14:46:07 +0200 Subject: [PATCH] [skgIF] added indicator citation count --- .../dnetlib/dhp/oa/graph/dump/skgif/ResultMapper.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dump/src/main/java/eu/dnetlib/dhp/oa/graph/dump/skgif/ResultMapper.java b/dump/src/main/java/eu/dnetlib/dhp/oa/graph/dump/skgif/ResultMapper.java index cfaa60b..435207e 100644 --- a/dump/src/main/java/eu/dnetlib/dhp/oa/graph/dump/skgif/ResultMapper.java +++ b/dump/src/main/java/eu/dnetlib/dhp/oa/graph/dump/skgif/ResultMapper.java @@ -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())); } });