Vitaly Fedorov

Published papers citation tracking using Altmetric

Introduction
During the development of web-site for London Institute for Mathematical Sciences (LIMS) (http://lims.ac.uk) we needed to track citations and mentions in media of papers published on the LIMS website. Altmetric and Dimensions metrics APIs were considered to use for implementation of update history tracking widgets since Altmetric Donuts and Dimensions Badges were already in use on the website.

The task was to obtain update data, store it in form convenient to use and display as a list grouped by update date.
Widget development
Development began with available APIs analysis.
Both APIs return momentary values while it was necessary to keep update history so the decision was to save counters`s values in our own repository on Altmetric and Dimensions score / citation count daily update. There weren't any issues with storing Dimensions data - adding database entry on every 'times_cited' count update was enough. But Altmetric widget requires displaying of media source and count of mentions for each media source whereas non-commercial version of Altmetric API doesn't provide such details so separate table for storing media sources` counts was created.
'Altmetric media counts' table fragment
Column names correspond attribute names from Altmetric API response however 'updated' row reflects time of actual counts update in our repository not 'last_updated' value from response.

All that remains is to display papers in correct order and group by date.
Encountered issues
The main difficulty encountered during development was a bit unclear changing of Altmetric media counts.
Media count changes
Take a look at 'by_tweeters' column. Its value increases and decreases what leads to appearance of 'false' updates. These updates aren't present on papers` page on Altmetric website and it's completely unclear where do they come from. Perhaps it's somehow connected with Twitter users remove retweets corresponding papers mentioned in.
Note: I believe the described issue doesn't appear in commercial version of Altmetric API (aka '/fetch' API) but I didn't have a chance to work with it so I can't say for sure.
Unfortunately the optimal solution for this problem hasn't been found yet.

As a result following widgets were created:
'Citation updates' widget displaying date when papers were cited last time is simple enough. 'Online media updates' widget is more interesting - it's also shows media source paper was mentioned in and count of mentions in corresponding media. Colors used for marking different media sources are same as used at Altmetric Donuts and the title with description pops-up on hover.

Backend logic of data filtering will be improved in the future as well as widgets` appearance but even now developed widgets are easy to implement using minimal available API level and already work for a while.
Thanks for reading!