View source: R/dc_activities.R
| dc_activities | R Documentation |
DataCite REST API: activities
dc_activities( ids = NULL, query = NULL, limit = 25, page = 1, cursor = NULL, ... )
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 |
for more info on the /activities route see
https://support.datacite.org/docs/tracking-provenance
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.