knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
rromeo
– an R interface for SHERPA/RoMEO APIrromeo
is an R client for the SHERPA/RoMEO API. SHERPA/RoMEO is a database that gives information on editorial policies of scientific journals regarding the archival of preprint, postprint and publishers' manuscripts. rromeo
is aimed at scientists interested in archival practices of scientific journals, such as professionals of scientometrics but also at scientist of specific fields interested in the practices of their fields.
The latest stable release of rromeo
is available on CRAN and can be installed
with:
install.packages("rromeo")
You can also install the development version from GitHub:
# install.packages("remotes") remotes::install_github("ropensci/rromeo")
Note that SHERPA/RoMEO lets you run 500 requests per day per IP address, by registering for a free API key you can bypass this limit.
rromeo
can use your registered SHERPA/RoMEO API key; you can either pass it as a string when querying the data with the argument key
:
rr_journal_name("Journal of Geology", key = "Iq83AIL5bss")
or you can specify the environment variable SHERPAROMEO_KEY
in an .Rprofile
or in an .Renviron
file and rromeo
will automatically retrieve the API key.
See the specific vignette to know how to apply and use the API key with rromeo
.
rromeo
contains functions to retrieve data from the SHERPA/RoMEO API (for a complete overview please refer to the vignette). The data is released under the Creative Commons Attribution-NonCommercial-ShareAlike 2.5 (CC BY-NC-SA 2.5) license. A suggestion of citation is included in rromeo
via citation("rromeo")
.
rromeo
functions are prefixed with rr_
such as rr_journal_name()
that lets you retrieve a journal policy information using the title of a journal:
rromeo::rr_journal_name("Journal of Biogeography", qtype = "exact")
the qtype
argument indicates the type of query to make (exact
for exact matching of the title, contains
for partial matching and starts with
to match only the beginning of the title).
You can also retrieve a journal information using its ISSN:
rromeo::rr_journal_issn("0305-0270")
rromeo
also provides a function to retrieve information based on publisher ID rr_publisher()
.
SHERPA/RoMEO provides a synthetic "colour" for each journal, the colour summarizes the editorial policy of a journal:
| RoMEO colour | Archiving policy |
|:-------------|:--------------------------------------------------------|
| green
| can archive preprint, postprint and publisher's version |
| blue
| can archive postprint or publisher's version |
| yellow
| can archive preprint |
| white
| archiving not formally supported |
(Table taken from http://www.sherpa.ac.uk/romeo/definitions.php#colours)
rromeo
lets you retrieve the policies of all journals of a given colour using the function rr_romeo_colour()
(NOTE: this function can be slow as there are many journals to retrieve):
green_journals = rromeo::rr_romeo_colour("green") green_journals[8:12,]
source("https://gist.githubusercontent.com/Rekyt/261c2c3040715dcd8c211d7f5d18c9c8/raw/") plot_dependencies()
source("https://gist.githubusercontent.com/Rekyt/261c2c3040715dcd8c211d7f5d18c9c8/raw/") plot_dependencies(type = "full")
rromeo
We welcome contribution to rromeo
!
Please read the contribution guidelines if you want to contribute, as well as the below-mentioned Code of Conduct.
Please note that the rromeo
project is released with a Contributor Code of Conduct. By contributing
to this project, you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.