Count the number of results for a given search. Useful to check before attempting to pull down a very large number of records.
Search pattern as a string; a vector of such strings is
also allowed, in which case the elements are combined with
arXiv doc IDs, as comma-delimited string or a vector of such strings
Number of results (integer). An attribute
"search_info" contains information about the search
parameters and the time at which it was performed.
1 2 3 4 5 6 7 8 9
# 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]")