authored: authored.R Search Method (Public Method)

View source: R/authored.R

authoredR Documentation

authored.R Search Method (Public Method)

Description

authored.R Search Method (Public Method)

Usage

authored(query, page = NA, numItems = 100L, year = NA,
  key = getOption("MendeleyKey", stop("need an API key for Mendeley")),
  curl = getCurlHandle(), ...)

Arguments

query

an author name to query

page

number pages to return (optional)

key

Mendeley public key

numItems

number of hits to return (optional)

year

restrict results to publications appearing in that year (optional)

...

optional additional curl options (debugging tools mostly)

curl

If using in a loop, call getCurlHandle() first and pass the returned value in here (avoids unnecessary footprint)

Value

all results matching the query for the author

Examples

## Not run: 
a <- authored("Boettiger")
b <- authored("Boettiger", num = 10)
b$documents
a$total_results

## End(Not run)

ropensci/RMendeley documentation built on May 18, 2022, 8:58 a.m.