Queries the arXiv API to get metadata for papers submitted to a given category during a specified date range. Records are ordered by earliest submitted.

get_records(cat, date_range, lim = NULL)

Arguments

cat

arXiv category name(s) to retrieve papers for. Search for papers listed under multiple categories by using the pipe ("|") delimiter.

date_range

Submission dates in "YYYYMMDD TO YYYYMMDD" format

lim

Total number of records to retrieve. If the function is called interactively and no lim value is given, the function will check how many records the query will return and prompt the user to proceed.

Value

data.frame of metadata

Examples

# Get the first 10 papers submitted to *both* math.CO and math.PR in 2019 # papers <- get_records("math.CO | math.PR", "2019 TO 2020", 10)