Usage
plosfigtabcaps(terms, fields = NA, limit = NA, numrecords = FALSE, url = "http://api.plos.org/search",
key = getOption("PlosApiKey", stop("need an API key for PLoS Journals")), ...,
curl = getCurlHandle())
Arguments
- terms
- search terms
- 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)
- numrecords
- print number of results only (logical)
- 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, and fields that you specify to
return.
Description
Search PLoS Journals figure and table captions.
Examples
## Not run: # plosfigtabcaps('ecology', 'id', 500)# plosfigtabcaps('ecology', 'figure_table_caption', 10)# plosfigtabcaps('is', 'id', 2000)# plosfigtabcaps('ecology', 'id', 10, numrecords = 'FALSE')# ## End(Not run)