This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Number of citations of an article per year using PMIDs

I want to find out how to get number of citations of an article per year using PMIDs

eutils pmids citation count yearly

Have a try of the pubmedy add-in in chrome and you will see the number of citations as

enter image description here

1 answer

For example, to find yearly citations of article with PMID 15926897:

esearch -db pubmed -query 15926897 \
  | elink -name pubmed_pmc_refs -target pmc \
  | efetch -format docsum \
  | xtract -pattern DocumentSummary -element PubDate \
  | cut -f1 -d" " | sort | uniq -c

Results in:

  6 2006
  3 2008
  3 2009
  1 2011
  3 2012
  3 2013
  1 2015
  3 2016
  3 2017
  2 2018
  

Log in to answer this question.