Description Usage Arguments Value References Examples
fetches query counts from pubmed database grouped by years
1 2 | fetchPubmed(query, fromYear,
toYear = as.integer(format(Sys.Date(), "%Y")) - 1)
|
query |
character, search term e.g. "Mass Spectrometry[MeSH]" |
fromYear |
numeric, start year |
toYear |
numeric, end year [default: last year] |
a 2-column matrix 1. column: "year" 2. column: "counts"
Kristoffer Magnusson An R Script to Automatically download PubMed Citation Counts By Year of Publication http://rpsychologist.com/an-r-script-to-automatically-look-at-pubmed-citation-counts-by-year-of-publication/
http://eutils.ncbi.nlm.nih.gov/entrez/query/static/esearch_help.html
1 2 3 4 5 | ms <- fetchPubmed("Mass Spectrometry[MeSH]", 2009, 2010);
ms
# year counts
# [1,] 2009 10829
# [2,] 2010 11143
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.