The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

zenstats

R-CMD-check

A Zenodo deposit contains some statistics of interest, like the number of views and downloads, that is not available to programmaticaly access through its API. The zenstats package scraps deposit webpages and return the deposits statistics as a tibble.

Installation

You can install the development version of zenstats from GitHub with:

# install.packages("remotes")
remotes::install_github("rfsaldanha/zenstats")

Example

library(zenstats)

ids <- c(10036212, 10947952)

deposit_stats(ids, all_versions_only = TRUE, progress = FALSE)
#> # A tibble: 2 × 5
#>   date                 deposit views downloads  volume
#>   <dttm>                 <dbl> <dbl>     <dbl>   <byt>
#> 1 2024-05-17 14:50:40 10036212   528       322 1.40 TB
#> 2 2024-05-17 14:50:41 10947952    72        39 1.70 GB

Polite webpage crawling

This package respects the ‘robots.txt’ policies from Zenodo, including the crawl delay of 10 seconds.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.