Count the number of results for a given search. Useful to check before attempting to pull down a very large number of records.
Value
Number of results (integer). An attribute
"search_info"
contains information about the search
parameters and the time at which it was performed.
Examples
# \donttest{
# count papers in category stat.AP (applied statistics)
arxiv_count(query = "cat:stat.AP")
#> [1] 19335
# count papers by Peter Hall in any stat category
arxiv_count(query = 'au:"Peter Hall" AND cat:stat*')
#> [1] 50
# count papers for a range of dates
# here, everything in 2013
arxiv_count("submittedDate:[2013 TO 2014]")
#> [1] 92875
# }