-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
97 lines (74 loc) · 3.44 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
97
---
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/README-",
out.width = "100%"
)
```
# openaccess
<!-- badges: start -->
<!-- badges: end -->
openaccess provides a simple check of [open access](https://en.wikipedia.org/wiki/Open_access) for scientific papers. The only data required is a DOI. The list of supported journals grows steadily, see below for the current list of verified sources.
## Installation
You can install the development version of openaccess from [GitHub](https://github.com/) with:
```{r, eval=FALSE}
# install.packages("devtools")
devtools::install_github("turtletopia/openaccess")
```
## How to use
You'd most often check the open access status by passing the DOI.
```{r with_doi, cache=TRUE}
library(openaccess)
is_open_access("10.1093/nar/gkac882")
```
However, if you already have a HTML content, there's no point in extracting the DOI to download the site again.
```{r with_html, cache=TRUE}
site <- rvest::read_html("https://academic.oup.com/nar/article/51/D1/D352/6761729")
is_open_access(site)
```
Some sites require prior configuration of Selenium remote driver.
```{r with_selenium, cache=TRUE}
# Settings must match your local setup
start_remote_driver(port = 4567, browserName = "firefox")
is_open_access("10.1073/pnas.211412398")
```
## Verified journals
The following journals were validated against the solution and split into two groups: supported and unsupported. Any journal not specified here is not supported either, although with the lack of support coming from not having evaluated the journal yet instead of objective obstacles.
### Supported sources
* [Academic Press](https://www.elsevier.com/books-and-journals/academic-press)
* [ACS Publications](https://pubs.acs.org)
* [Analytical Science Journals](https://analyticalsciencejournals.onlinelibrary.wiley.com)
* [BioMed Central](https://www.biomedcentral.com)
* [Biophysical Journal](https://www.sciencedirect.com/journal/biophysical-journal)
* [Cambridge Core](https://www.cambridge.org/core/)
* [Cell Reports](https://www.cell.com/cell-reports/home)
* [eLife](https://elifesciences.org)
* [Elsevier](https://www.elsevier.com)
* [FEBS Press](https://febs.onlinelibrary.wiley.com)
* [Frontiers](https://www.frontiersin.org)
* [Hindawi](https://www.hindawi.com)
* [Journal of Biological Chemistry](https://www.jbc.org)
* [Journal of Neuroscience](https://www.jneurosci.org)
* [MDPI](https://www.mdpi.com)
* [Molecular Cell](https://www.cell.com/molecular-cell/home)
* [Nature](https://www.nature.com)
* [OUP Academic](https://academic.oup.com)
* [PeerJ](https://peerj.com)
* Pergamon
* [PLOS ONE](https://journals.plos.org/plosone/)
* [PNAS](https://www.pnas.org)
* [Portland Press](https://portlandpress.com)
* [The Royal Society of Chemistry](https://www.rsc.org)
* [Science](https://www.science.org)
* [SpringerLink](https://link.springer.com)
* [Taylor & Francis](https://www.tandfonline.com)
* [Wiley Online Library](https://onlinelibrary.wiley.com)
### (Confirmed) unsupported sources
Currently all verified sources are supported.
## End notes
I believe in equal rights and treatment for everybody, regardless of their sexuality, gender identity, skin tone, nationality, and other features beyond human control. Thus, I do not allow openaccess to be used in any project that promotes hate based on the aforementioned factors.