arc_paginate_req: Paginate ArcGIS Requests

View source: R/arc-paginate-req.R

arc_paginate_reqR Documentation

Paginate ArcGIS Requests

Description

Many API endpoints provide common pagination properties. arc_paginate_request() automatically applies pagination to an input request.

Usage

arc_paginate_req(req, page_size = 10, max_pages = Inf, .progress = TRUE)

Arguments

req

an httr2_request ideally created with arc_base_req

page_size

a scalar integer between 1 and 100 indicating the number of responses per page.

max_pages

the maximum number of pages to fetch. By default fetches all pages.

.progress

default TRUE. Whether to display a progress bar for requests.

Value

a list of httr2_response.

References

API Documentation

See Also

arc_base_req()


arcgisutils documentation built on March 4, 2026, 9:06 a.m.