get_zenodo_id | R Documentation |
Extract the Zenodo record number from the report URL
get_zenodo_id(report)
report |
- string containing the report URL on Zenodo. |
The report paramater should contain a URL like: http://doi.org/10.5281/zenodo.3750741 where the final part of the URL is zenodo.X where X is a number containing at least 7 digits. X is returned. If we cannot extract the number X, we return an error, in which case the function create_zenodo_record() can be run to create a new record. Alternatively, the report URL is pre-assigned a DOI when manually creating the record.
the Zenodo record number (a number with at least 7 digits).
Stephen Eglen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.