Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

arxiv_count

Count number of results for a given search


Description

Count the number of results for a given search. Useful to check before attempting to pull down a very large number of records.

Usage

arxiv_count(query = NULL, id_list = NULL)

Arguments

query

Search pattern as a string; a vector of such strings is also allowed, in which case the elements are combined with AND.

id_list

arXiv doc IDs, as comma-delimited string or a vector of such strings

Value

Number of results (integer). An attribute "search_info" contains information about the search parameters and the time at which it was performed.

See Also

Examples

# count papers in category stat.AP (applied statistics)
arxiv_count(query = "cat:stat.AP")

# count papers by Peter Hall in any stat category
arxiv_count(query = 'au:"Peter Hall" AND cat:stat*')

# count papers for a range of dates
#    here, everything in 2013
arxiv_count("submittedDate:[2013 TO 2014]")

aRxiv

Interface to the arXiv API

v0.5.19
MIT + file LICENSE
Authors
Karthik Ram [aut] (<https://orcid.org/0000-0002-0233-1757>), Karl Broman [aut, cre] (<https://orcid.org/0000-0002-4914-6671>)
Initial release
2019-08-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.