Skip to content

ropensci/rcrossref

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fa6415b · Apr 15, 2025
Nov 9, 2022
Mar 5, 2023
Mar 18, 2020
Mar 18, 2020
Mar 5, 2023
Nov 9, 2022
Mar 5, 2023
Aug 19, 2021
Nov 30, 2020
Mar 7, 2019
Mar 5, 2023
Nov 30, 2020
Nov 30, 2020
Oct 1, 2020
Sep 30, 2020
Nov 9, 2022
Nov 18, 2022
Apr 8, 2025
Sep 30, 2020
Nov 10, 2022

Repository files navigation

rcrossref: R interface to CrossRef APIs

cran checks Project Status: Active - The project has reached a stable, usable state and is being actively developed. R-check codecov rstudio mirror downloads cran version

Crossref documentation

Installation

Stable version from CRAN

install.packages("rcrossref")

Or development version from GitHub

remotes::install_github("ropensci/rcrossref")

Load rcrossref

library('rcrossref')

Register for the Polite Pool

If you are intending to access Crossref regularly you will want to send your email address with your queries. This has the advantage that queries are placed in the polite pool of servers. Including your email address is good practice as described in the Crossref documentation under Good manners (https://github.com/CrossRef/rest-api-doc#good-manners--more-reliable-service). The second advantage is that Crossref can contact you if there is a problem with a query.

Details on how to register your email in a call can be found at ?rcrossref-package. To pass your email address to Crossref, simply store it as an environment variable in .Renviron like this:

Open file: file.edit("~/.Renviron")

Add email address to be shared with Crossref crossref_email= "name@example.com"

Save the file and restart your R session

To stop sharing your email when using rcrossref simply delete it from your .Renviron file.

Documentation

See https://docs.ropensci.org/rcrossref/ to get started

Meta


This package is part of a richer suite called fulltext (https://github.com/ropensci/fulltext), along with several other packages, that provides the ability to search for and retrieve full text of open access scholarly articles.