get_pmc_cited_in: Finds "cited in" articles from PMC.

Description Usage Arguments Details Value Examples

View source: R/get_pmc_cited_in.R

Description

'get_pmc_cited_in' takes a vector of article PMIDs and returns elink results containing the PMIDs of articles that cite each of the given articles.

Usage

1
get_pmc_cited_in(pmids, batchSize = 200)

Arguments

pmids

a vector of PMIDs look-up

batchSize

the batch size to use

Details

Finds articles that cite the provided set of articles. This function is a wrapper for the 'entrez_link' function from 'rentrez'. If more than 1 PMID is specified, requests are made in batches, ensuring that no more than 200 pmids are queried at a time, and that no more than 3 requests are made per second. If an Entrez Key is set, this function allows for 10 requests per second. Entrez keys can be set using 'set_entrez_key(key)'.

Value

For looking up one PMID or one batch, an elink object; for multiple batches, a list of of elink list objects are returned, i.e., the i^{th} element of the list is an elink list object for the i^{th} batch.

Examples

1
res <- get_pmc_cited_in(c(21876726,21876761))

gdancik/pmc2nc documentation built on May 5, 2019, 7:09 a.m.