Learn R Programming

europepmc (version 0.4.3)

epmc_annotations_by_id: Get annotations by article

Description

Retrieve text-mined annotations contained in abstracts and open access full-text articles.

Usage

epmc_annotations_by_id(ids = NULL)

Value

returns text-mined annotations in a tidy format with the following variables

source

Publication data source

ext_id

Article Identifier

pmcid

PMCID that locates full-text in Pubmed Central

prefix

Text snipped found before the annotation

exact

Annotated entity

postfix

Text snipped found after the annotation

name

Targeted entity

uri

Uniform link dictionary entry for targeted entity

id

URL to full-text occurence of the annotation

type

Type of annotation like Chemicals

section

Article section mentioning the annotation like Methods

provider

Annotation data provider

subtype

Sub-data provider

Arguments

ids,

character vector with publication identifiers following the structure "source:ext_id", e.g. `"MED:28585529"`

Examples

Run this code
if (FALSE) {
  annotations_by_id("MED:28585529")
  # multiple ids
  annotations_by_id(c("MED:28585529", "PMC:PMC1664601"))
}

Run the code above in your browser using DataLab