openaccess provides a simple check of 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.
You can install the development version of openaccess from GitHub with:
# install.packages("devtools")
devtools::install_github("turtletopia/openaccess")
You’d most often check the open access status by passing the DOI.
library(openaccess)
is_open_access("10.1093/nar/gkac882")
#> [1] TRUE
However, if you already have a HTML content, there’s no point in extracting the DOI to download the site again.
site <- rvest::read_html("https://academic.oup.com/nar/article/51/D1/D352/6761729")
is_open_access(site)
#> [1] TRUE
Some sites require prior configuration of Selenium remote driver.
# Settings must match your local setup
start_remote_driver(port = 4567, browserName = "firefox")
#> Starting a new remote driver...
is_open_access("10.1073/pnas.211412398")
#> [1] FALSE
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.
- Academic Press
- ACS Publications
- Analytical Science Journals
- BioMed Central
- Biophysical Journal
- Cambridge Core
- Cell Reports
- eLife
- Elsevier
- FEBS Press
- Frontiers
- Hindawi
- Journal of Biological Chemistry
- Journal of Neuroscience
- MDPI
- Molecular Cell
- Nature
- OUP Academic
- PeerJ
- Pergamon
- PLOS ONE
- PNAS
- Portland Press
- The Royal Society of Chemistry
- Science
- SpringerLink
- Taylor & Francis
- Wiley Online Library
Currently all verified sources are supported.
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.