Search PLoS Journals authors.

Usage

plosauthor(terms, fields = NA, limit = NA, results = FALSE, url = "http://api.plos.org/search",
  key = getOption("PlosApiKey", stop("need an API key for PLoS Journals")), ...,
      curl = getCurlHandle())

Arguments

terms
authors to search for (character)
fields
fields to return from search (character) [e.g., 'id,title'], any combination of search fields [see plosfields$field]
limit
number of results to return (integer)
results
print results or not (TRUE or FALSE)
url
the PLoS API url for the function (should be left to default)
key
your PLoS API key, either enter, or loads from .Rprofile
...
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

Number of search results (results = FALSE), or number of search results plus the results themselves (results = TRUE).

Description

Search PLoS Journals authors.

Examples

## Not run: # plosauthor('johnson', 'title,author', 9999999, 'FALSE')# plosauthor('johnson', limit = 5, results = 'TRUE')# ## End(Not run)