spmetadata: Search Springer metadata.

View source: R/spmetadata.R

spmetadataR Documentation

Search Springer metadata.

Description

Search Springer metadata.

Usage

  spmetadata(terms = NA, limit = NA, startrecord = NA,
    url = "http://api.springer.com/metadata/json",
    key = getOption("SpringerMetdataKey", stop("need a metadata 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 5 calls per second; 5000/day max.

Value

Number of search results and results in a data.frame.

Examples

## Not run: 
spmetadata(terms = 'dna', limit = 5)
spmetadata(terms = 'dna', limit = 5, verbose=TRUE) #debug mode

## End(Not run)

ropensci/rspringer documentation built on May 18, 2022, 7:32 p.m.