Learn R Programming

rcrossref (version 0.3.0)

cr_licenses: Search CrossRef licenses

Description

Search CrossRef licenses

Usage

cr_licenses(query = NULL, offset = NULL, limit = NULL, sample = NULL,
  sort = NULL, order = NULL, .progress = "none", ...)

Arguments

query
Query terms
offset
Number of record to start at, from 1 to infinity.
limit
Number of results to return in the query. Not relavant when searching with specific dois. Default: 20. Max: 1000
sample
(integer) Number of random results to return. when you use the sample parameter, the rows and offset parameters are ignored.
sort
(character) Field to sort on, one of score, relevance, updated, deposited, indexed, or published.
order
(character) Sort order, one of 'asc' or 'desc'
.progress
Show a plyr-style progress bar? Options are "none", "text", "tk", "win, and "time". See create_progress_bar for details of each.
...
Named parameters passed on to GET

Details

BEWARE: The API will only work for CrossRef DOIs.

References

https://github.com/CrossRef/rest-api-doc/blob/master/rest_api.md

Examples

Run this code
cr_licenses()
# query for something, e.g. a publisher
cr_licenses(query = 'elsevier')

Run the code above in your browser using DataLab