Learn R Programming

arcgisutils (version 0.4.0)

arc_paginate_req: 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)

Value

a list of httr2_response.

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.

References

API Documentation

See Also

arc_base_req()