dc_activities {rdatacite} | R Documentation |
DataCite REST API: activities
Description
DataCite REST API: activities
Usage
dc_activities(
ids = NULL,
query = NULL,
limit = 25,
page = 1,
cursor = NULL,
...
)
Arguments
ids |
(character) one or more activity IDs |
query |
(character) Query string |
limit |
(numeric/integer) results per page |
page |
(numeric/integer) the page to get results for. default: 1 |
cursor |
(character) page cursor (used instead of |
... |
curl options passed on to crul::verb-GET |
Details
for more info on the /activities
route see
https://support.datacite.org/docs/tracking-provenance
Examples
## Not run:
if (dc_check()) {
x <- dc_activities()
x
# dc_activities(x$data$id[1]) # FIXME: doesn't work, returns no data
# dc_activities(query = "ecology") # FIXME: this thlimit a 500 error
}
## End(Not run)
[Package rdatacite version 0.5.4 Index]