/openaccess

Check if a paper is in open access.

Primary LanguageRGNU General Public License v3.0GPL-3.0

openaccess

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.

Installation

You can install the development version of openaccess from GitHub with:

# install.packages("devtools")
devtools::install_github("turtletopia/openaccess")

How to use

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

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

(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.