Skip to contents

This function will fetch statistics from multiple deposits, respecting web crawling policies from Zenodo's 'robots.txt' file.

Usage

deposit_stats(deposit_ids, all_versions_only = FALSE, progress = TRUE)

Arguments

deposit_ids

vector. A vector of Zenodo deposit ids.

all_versions_only

logical. If TRUE, return only the results for all versions.

progress

logical. Show a progress bar.

Value

a tibble.

Examples

deposit_stats(c(10013255, 10889682), all_versions_only = TRUE)
#>  ■■■■■■■■■■■■■■■■                  50% |  ETA:  5s
#> # A tibble: 2 × 5
#>   date                 deposit views downloads   volume
#>   <dttm>                 <dbl> <dbl>     <dbl>    <byt>
#> 1 2024-06-03 07:55:37 10013255   219       230 21.40 GB
#> 2 2024-06-03 07:55:48 10889682   236       583 54.30 GB