spimages: Search open access springer images.

Description Usage Arguments Details Value See Also Examples

View source: R/spimages.R

Description

Search open access springer images.

Usage

1
2
3
4
  spimages(terms, limit, startrecord = NA,
    url = "http://api.springer.com/images/json",
    key = getOption("SpringerImagesKey", stop("need an images API key for Springer Journals")),
    ..., curl = getCurlHandle())

Arguments

terms

search terms (character)

limit

number of results to return (integer)

startrecord

return results starting at the number specified (integer)

url

the base Springer url for the function (should be left to default)

key

your Springer 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)

Details

Limited to 1 call per second. 5000/day max.

Value

List

See Also

rplos (https://github.com/ropensci/rplos)

Examples

1
2
3
4
5
## Not run: 
spimages(terms = 'dna', limit = 5)
spimages(terms = 'dna', limit = 5, verbose=TRUE) #debug mode

## End(Not run)

ropensci/rspringer documentation built on May 16, 2018, 7:06 a.m.