authored: authored.R Search Method (Public Method)

Description Usage Arguments Value Examples

Description

authored.R Search Method (Public Method)

Usage

1
2
3
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

1
2
3
4
5
6
7
## Not run: 
a <- authored("Boettiger")
b <- authored("Boettiger", num = 10)
b$documents
a$total_results

## End(Not run)

ropensci/RMendeley documentation built on May 27, 2019, 2:03 p.m.