epmc_annotations_by_id: Get annotations by article

Description Usage Arguments Value Examples

View source: R/annotations_by_id.R

Description

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

Usage

1

Arguments

ids,

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

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

Examples

1
2
3
4
5
6
## Not run: 
  annotations_by_id("MED:28585529")
  # multiple ids
  annotations_by_id(c("MED:28585529", "PMC:PMC1664601"))

## End(Not run)

ropensci/europepmc documentation built on June 8, 2020, 11:27 a.m.