get_versions allows to execute a workflow

get_versions(doi, sandbox = FALSE, logger = NULL)

Arguments

doi

a Zenodo DOI or concept DOI

sandbox

Use the sandbox infrastructure. Default is FALSE

logger

a logger to print messages. The logger can be either NULL, "INFO" (with minimum logs), or "DEBUG" (for complete curl http calls logs)

Value

an object of class data.frame giving the record versions including date, version number and version-specific DOI.

Examples

# \dontrun{
get_versions("10.5281/zenodo.2547036")
#>  Successfully fetched list of published records!
#> ! No record for DOI '10.5281/zenodo.2547036'!
#>  Try to get deposition by Zenodo specific record id '2547036'
#>  Successfully fetched list of published records!
#> ! No record for id '2547036'!
#>  Successfully fetched list of published records - page 1
#>  Successfully fetched list of published records!
#>  Successfully fetched published record for concept DOI '10.5281/zenodo.2547036'!
#>  Successfully fetched list of published records - page 1
#>  Successfully fetched list of published records!
#>                created             updated       date  version
#> 1  2019-01-22 22:44:30 2023-09-21 06:53:02 2019-01-22 0.1-beta
#> 2  2019-06-04 12:47:55 2023-09-21 06:53:02 2019-06-03      0.1
#> 3  2019-08-02 08:38:03 2023-09-21 06:53:02 2019-08-02      0.2
#> 4  2019-08-27 12:07:00 2023-09-21 06:53:02 2019-08-27      0.3
#> 5  2020-09-02 08:48:36 2023-09-21 06:53:02 2020-09-02      0.4
#> 6  2020-09-03 10:59:46 2023-09-21 06:53:02 2020-09-03    0.4-1
#> 7  2020-09-07 06:23:18 2023-09-21 06:53:02 2020-09-04    0.4-2
#> 8  2021-09-15 12:58:02 2023-09-21 06:53:03 2021-09-15      0.5
#> 9  2021-10-29 17:40:04 2023-09-21 06:53:03 2021-10-29    0.5-1
#> 10 2021-11-30 07:59:59 2023-09-21 06:53:03 2021-11-30    0.5-2
#> 11 2022-02-16 16:33:18 2023-09-21 06:53:03 2022-02-16    0.5-3
#> 12 2022-05-01 14:35:42 2023-09-21 06:53:03 2022-05-01      0.6
#> 13 2022-06-17 11:23:00 2023-09-21 06:53:03 2022-06-17    0.6-1
#> 14 2022-08-19 08:03:38 2023-09-21 06:53:04 2022-08-19      0.7
#> 15 2023-01-09 23:10:23 2023-09-21 06:53:04 2023-01-09    0.7-1
#> 16 2023-01-19 18:44:58 2023-09-21 06:53:04 2023-01-19      0.8
#> 17 2023-09-21 06:51:58 2023-09-21 14:26:58 2023-09-20      0.9
#>                       doi
#> 1  10.5281/zenodo.2547037
#> 2  10.5281/zenodo.3238351
#> 3  10.5281/zenodo.3358590
#> 4  10.5281/zenodo.3378733
#> 5  10.5281/zenodo.4011667
#> 6  10.5281/zenodo.4013362
#> 7  10.5281/zenodo.4017156
#> 8  10.5281/zenodo.5509954
#> 9  10.5281/zenodo.5619381
#> 10 10.5281/zenodo.5741143
#> 11 10.5281/zenodo.6109137
#> 12 10.5281/zenodo.6509945
#> 13 10.5281/zenodo.6656251
#> 14 10.5281/zenodo.7009208
#> 15 10.5281/zenodo.7517728
#> 16 10.5281/zenodo.7552287
#> 17 10.5281/zenodo.8365600
# }