forked from FRBCesab/zenodor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
78 lines (47 loc) · 2.35 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(collapse = TRUE,
comment = "#>",
fig.path = "man/figures/",
out.width = "100%")
```
zenodor <img src="man/figures/package-sticker.png" align="right" style="float:right; height:120px;"/>
=========================================================
<!-- badges: start -->
[![R CMD Check](https://github.com/frbcesab/zenodor/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/frbcesab/zenodor/actions/workflows/R-CMD-check.yaml)
[![Website](https://github.com/frbcesab/zenodor/actions/workflows/pkgdown.yaml/badge.svg)](https://github.com/frbcesab/zenodor/actions/workflows/pkgdown.yaml)
[![License: GPL (>= 2)](https://img.shields.io/badge/License-GPL%20%28%3E%3D%202%29-blue.svg)](https://choosealicense.com/licenses/gpl-2.0/)
<!-- badges: end -->
The goal of the R package `zenodor` is to provide an CLI interface to list and
download files from a Zenodo repository. This package works with open and
restricted access repositories. For restricted repository a token must be
provided.
![Request a token for restricted Zenodo repo](man/figures/zenodo-request.png)
## Installation
You can install the development version from [GitHub](https://github.com/) with:
```{r eval = FALSE}
# install.packages("remotes")
remotes::install_github("frbcesab/zenodor")
```
Then you can attach the package `zenodor`:
```{r eval = FALSE}
library("zenodor")
```
## Overview
The package `zenodor` contains two functions:
- [zen_list_files()](https://frbcesab.github.io/zenodor/reference/zen_list_files.html)
lists files available for download
- [zen_download_files()](https://frbcesab.github.io/zenodor/reference/zen_download_files.html)
downloads one, several or all files available on the repo
## Citation
Please cite this package as:
> Casajus Nicolas (`r format(Sys.Date(), "%Y")`) zenodor: An R
package to download files from a Zenodo repository.
R package version 0.1. URL: <https://github.com/frbcesab/zenodor>.
## Code of Conduct
Please note that the `zenodor` project is released with a
[Contributor Code of Conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/).
By contributing to this project, you agree to abide by its terms.