This repository has been archived by the owner on Dec 30, 2023. It is now read-only.
forked from knowledgeextraction/jaod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
96 lines (69 loc) · 2.36 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
jaod
====
```{r echo=FALSE}
knitr::opts_chunk$set(
comment = "#>",
collapse = TRUE,
warning = FALSE,
message = FALSE
)
```
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
[![cran checks](https://cranchecks.info/badges/worst/jaod)](https://cranchecks.info/pkgs/jaod)
[![Build Status](https://travis-ci.org/ropensci/jaod.svg?branch=master)](https://travis-ci.org/ropensci/jaod)
[![codecov.io](https://codecov.io/github/ropensci/jaod/coverage.svg?branch=master)](https://codecov.io/github/ropensci/jaod?branch=master)
[![rstudio mirror downloads](http://cranlogs.r-pkg.org/badges/jaod)](https://github.com/metacran/cranlogs.app)
[![cran version](http://www.r-pkg.org/badges/version/jaod)](https://cran.r-project.org/package=jaod)
`jaod` - R client for [Directory of Open Access Journals API](https://doaj.org/api/v1/docs)
DOAJ API FAQ: <https://doaj.org/faq#apikey>
get started with the package docs: <https://ropensci.github.io/jaod/>
## installation
stable CRAN version
```{r eval=FALSE}
install.packages("jaod")
```
development version
```{r eval=FALSE}
devtools::install_github("ropensci/jaod")
```
```{r}
library("jaod")
```
## search journals
```{r}
jaod_journal_search(query = "bibjson.keywords:heritage")
```
## get journal by id
```{r}
out <- jaod_journal(id = "f3f2e7f23d444370ae5f5199f85bc100")
names(out$bibjson)
```
```{r}
out$bibjson$archiving_policy
out$bibjson$apc
out$bibjson$article_statistics
out$bibjson$author_publishing_rights
```
## search articles
```{r}
jaod_article_search(query = "license:CC-BY")
```
## get article by id
```{r}
out2 <- jaod_article(id = "0005e11ec616453f854070069385e057")
names(out2$bibjson)
```
```{r}
out2$bibjson$author
out2$bibjson$link
out2$bibjson$identifier
out2$bibjson$subject
```
## Meta
* Please [report any issues or bugs](https://github.com/ropensci/jaod/issues).
* License: MIT
* Get citation information for `jaod` in R doing `citation(package = jaod')`
* Please note that this project is released with a [Contributor Code of Conduct][coc].
By participating in this project you agree to abide by its terms.
[![ropensci_footer](https://ropensci.org/public_images/github_footer.png)](https://ropensci.org)
[coc]: https://github.com/ropensci/jaod/blob/master/CODE_OF_CONDUCT.md