An interface to the API for 'arXiv' (< https://arxiv.org>), a repository of electronic preprints for computer science, mathematics, physics, quantitative biology, quantitative finance, and statistics.
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.
You can install the package via CRAN:
devtools::install_github() to get the (more recent) version
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:
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.
Fix a small problem related to a new behavior in a pre-release version of the httr package. (httr is no longer dropping NULLs from the POST search body.)
Fix a test error, that arose due to a change in the order of records returned by a query.
arXiv connection errors was causing test errors. Added a function to test connection to arXiv; tests are skipped if we can't connect.
try to avoid many of the tests on CRAN, where intermittent test errors will cause universal headaches.
Fix mistakes in the table in the help for arxiv_search that describes the output.
When searching in batches, arxiv_search could return more than the requested limit.
Fix tests of date range; a new 2013 arXiv manuscript changed the expected count.