get_article_info: Get article information

Description Usage Arguments Details Value Examples

View source: R/get_article_info.R

Description

'get_article_info' takes a vector of article PMIDs and returns summary information about the articles

Usage

1
get_article_info(pmids, elements = NULL, show_progress = TRUE)

Arguments

pmids

a vector of PMIDs look-up

elements

a vector indicating the article info to retrieve, defaulting to c("uid", "title", "lastauthor", "fulljournalname")

show_progress

outputs progress if TRUE

Details

Returns summary information for a list of articlees This function is a wrapper for the 'entrez_summary' and 'extract_from_esummary' functions from 'rentrez'. Function is currently limited to handling no more than 5000 PMIDs. The "web history" feature is used to post IDs to the server, 200 at a time, and retreive information 10 IDs at a time.

Value

a data.frame containing article information for each PMID

Examples

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

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