authors: authors Stats Method (Public Method)

Description Usage Arguments Examples

View source: R/authors.R

Description

Returns list of top authors of given disipline or overall

Usage

1
2
3
4
authors(discipline = NULL, upandcoming = FALSE,
  url = "http://api.mendeley.com/oapi/stats/authors/",
  key = getOption("MendeleyKey", stop("need an API key for Mendeley")), ...,
  curl = getCurlHandle())

Arguments

discipline

a numeric code indicating the discipline

upandcoming

logical: give recent/trending top authors only?

url

Mendeley API URL (don't change this)

key

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

curl

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

...

optional additional curl options (debugging tools mostly)

Examples

1
2
3
4
5
## Not run: 
  authors()
  authors(discipline='6') # Discipline '6', Computer Science

## End(Not run)

ropensci/RMendeley documentation built on May 16, 2018, 6:57 a.m.