View source: R/subcategories.R
subcategories | R Documentation |
Returns a list of Mendeley's subcategories
subcategories(cat, key = getOption("MendeleyKey", stop("need an API key for Mendeley")), url = sprintf("%s/%s", "http://api.mendeley.com/oapi/documents/subcategories/", cat), curl = getCurlHandle(), ...)
cat |
subject category id |
key |
Mendeley API key (otherwise will try and load from server) |
url |
Mendeley API URL (don't change this) |
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) |
## Not run: subcategories() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.