Learn R Programming

aRxiv

R interface to arXiv

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.

Package Status and Installation

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")

Usage

Basic usage

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)

Tutorial

An aRxiv tutorial is available at the rOpenSci website, here.

To view the tutorial from R, use:

vignette("aRxiv", "aRxiv")

Links

License

Licensed under the MIT license. (More information here.)


Citation

Get citation information for aRxiv in R by running: citation(package = 'aRxiv')

Code of Conduct

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.

Copy Link

Version

Install

install.packages('aRxiv')

Monthly Downloads

936

Version

0.8

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

January 22nd, 2024

Functions in aRxiv (0.8)

arxiv_count

Count number of results for a given search
query_terms

arXiv query field terms
arxiv_search

The main search function for aRxiv
can_arxiv_connect

Check for connection to arXiv API
arxiv_open

Open abstract for results of arXiv search
arxiv_cats

arXiv subject classifications