arxiv_request: Query the arXiv API.

Description Usage Arguments Value Examples

View source: R/arxiv_request.R

Description

For instructions on writing queries, see the aRxiv package tutorial: https://ropensci.org/tutorials/arxiv_tutorial/, specifically the "Search terms" section.

Usage

1
2
3
4
5
6
7
8
9
arxiv_request(
  query,
  start = 0,
  limit,
  batch_size,
  sleep = 0,
  timeout = 30,
  sep = "|"
)

Arguments

query

String with the API query

start

Index to start at

limit

Maximum number of papers to return

batch_size

batch_size

sleep

Seconds to sleep between batches

timeout

Timeout seconds

sep

Separator

Value

A tibble

Examples

1
2
3
4
5
6
7
arxiv_request(
  query = "cat:cs.AI",
  start = 0,
  limit = 5,
  batch_size = 1,
  sleep = 1
)

skaltman/arxivapi documentation built on April 28, 2020, 6:08 a.m.