related: related.R a Search Method (Public Method)

Description Usage Arguments Details Value Examples

Description

Return a list of papers related to a given Mendeley uuid

Usage

1
2
3
4
related(query, page = NA, numItems = 1000L, key = getOption("MendeleyKey",
  stop("need an API key for Mendeley")), url = sprintf("%s/%s",
  "http://api.mendeley.com/oapi/documents/related", query),
  curl = getCurlHandle(), ...)

Arguments

query

any Mendeley uuid (see details() function)

page

number pages to return (optional)

numItems

number of hits to return (optional)

key

Mendeley API key (otherwise will try and load from package)

url

the Mendeley API url for the function (should be left to default)

...

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)

Details

See http://apidocs.mendeley.com/home/public-resources/search-related

Value

all results matching the query related =

Examples

1
2
3
4
## Not run: 
b <- related('cabcbae0-839b-11df-aedb-0024e8453de8') # uuid

## End(Not run)

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