It returns the publication trend of a query without downloading its records, with one request per year.
Arguments
- query
is a character. A search query in the Entrez query language.
- years
is a numeric vector of years. Default is the last 20 years.
- api_key
is a character. A valid API key for the NCBI E-utilities. Default is
api_key=NULL. It can also be set via the environment variablePUBMED_API_KEYorENTREZ_KEY.