GetPubmed: Get publication information from Pubmed

View source: R/api_pubmed.R

GetPubmedR Documentation

Get publication information from Pubmed

Description

GetPubmed extract information (pulication date, first name of first author, title of the publication, full name of journal, doi) of publications from Pubmed database.

Usage

GetPubmed(pmids, tool = "TidyComb", email = NULL)

Arguments

pmids

A vector of character/numeric containing PubMed ID of publications

tool

The name of application, default is "TidyComb"

email

User's e-mail address

Details

GetPubmed extract publications information via API provided by PMC database.

The argument tool and email are required for access API. Following is the "Note about API usage":

The use of our APIs is entirely free, and doesn't require an API key, but we ask that you please:

  • Do not make concurrent requests, even at off-peak times;

  • Include two parameters that help to identify your service or application to our servers:

    1. tool should be the name of the application, as a string value with no internal spaces.

    2. email should be the e-mail address of the maintainer of the tool, and should be a valid e-mail address.

Value

A data frame containing 6 variables:

  • pubmed_id The PubMed ID of the publication passed to pmid argument.

  • year The year of the publication date.

  • name The first name of the first author.

  • title The title of the publication.

  • journal The full name of journal where the publication was reposted.

  • doi The Digital Object Identifier (DOI) of the publication.

Author(s)

Jing Tang jing.tang@helsinki.fi Shuyu Zheng shuyu.zheng@helsinki.fi

Examples

study <- GetPubmed(c(26551875, 15627163), email = "shuyu.zheng1992@gmail.com")

DrugComb/TidyComb documentation built on June 22, 2022, 2:49 a.m.