| Title: | Statistics from 'Zenodo' Deposits | 
| Version: | 0.1.2 | 
| Description: | Fetch statistics about views, downloads and data volume from 'Zenodo' deposits. The package collects a 'Zenodo' (https://zenodo.org) deposit file information, respecting the website scrapping policies. | 
| License: | MIT + file LICENSE | 
| Encoding: | UTF-8 | 
| RoxygenNote: | 7.3.1 | 
| Imports: | checkmate, cli, curl, polite, purrr, RCurl, readr, rlang, rvest, tibble | 
| URL: | https://rfsaldanha.github.io/zenstats/ | 
| Suggests: | testthat (≥ 3.0.0) | 
| Config/testthat/edition: | 3 | 
| NeedsCompilation: | no | 
| Packaged: | 2024-05-30 08:43:38 UTC; raphael | 
| Author: | Raphael Saldanha | 
| Maintainer: | Raphael Saldanha <raphael.de-freitas-saldanha@inria.fr> | 
| Repository: | CRAN | 
| Date/Publication: | 2024-05-31 14:10:02 UTC | 
Fetch statistics from one or more Zenodo deposits
Description
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  | 
| progress | logical. Show a progress bar. | 
Value
a tibble.
Examples
deposit_stats(c(10013255, 10889682), all_versions_only = TRUE)
Scrap statistics from a Zenodo deposit
Description
Scrap statistics from a Zenodo deposit
Usage
scrap_stats(deposit_id, all_versions_only = FALSE)
Arguments
| deposit_id | numeric. Zenodo deposit id. | 
| all_versions_only | logical. If  | 
Value
a tibble
Examples
scrap_stats(10013255)