RMendeley (version 1.2)

tags: tags.R a Stats Method (Public Method)

Description

tags.R a Stats Method (Public Method)

Usage

tags(discipline, upandcoming = FALSE, url = sprintf("%s/%s", "http://api.mendeley.com/oapi/stats/tags/", discipline), key = getOption("MendeleyKey", stop("need an API key for Mendeley")), curl = getCurlHandle(), ...)

Arguments

discipline
a numeric code indicating the discipline Discipline id numbers can be displayed by the categories() function
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

Run this code
## Not run: 
#   tags()
#   tags('6')  # Discipline '6', Computer Science
# ## End(Not run)

Run the code above in your browser using DataLab