arXiv is a repository of electronic preprints for computer science, mathematics, physics, quantitative biology, quantitative finance, and statistics. The aRxiv package is an R interface to the arXiv API.
Note that the arXiv API does not require an API key.
Installation instructions Stable Version
You can install the package via CRAN:
install.packages("aRxiv")
Development Version
Or use devtools::install_github()
to get the (more recent) version
at GitHub:
install.packages("devtools")
library(devtools)
install_github("ropensci/aRxiv")
The main function is arxiv_search()
. Here's an example of its use:
library(aRxiv)
z <- arxiv_search(query = 'au:"Peter Hall" AND cat:stat*', limit=50)
str(z)
An aRxiv tutorial is available at the rOpenSci website, here.
To view the tutorial from R, use:
vignette("aRxiv", "aRxiv")
Licensed under the MIT license. (More information here.)
This package is part of a richer suite called fulltext, along with several other packages, that provides the ability to search for and retrieve full text of open access scholarly articles. We recommend using fulltext
as the primary R interface to arXiv
unless your needs are limited to this single source.
Get citation information for aRxiv
in R by running: citation(package = 'aRxiv')
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.