pager: Page through api calls.

View source: R/pager.R

pagerR Documentation

Page through api calls.

Description

Page through api calls.

Usage

pager(Step, Page)

Arguments

Step

The step size. Something like 100, 1000, ect. Not 10,000.

Page

The page number.

Value

A string of "&facetLimit=10&facetOffset=1000" to stick on the end of an api call.

Examples


## Not run: 
gbifapi::gbifapi(prefix %+% "&" %+% "datasetKey=" %+% datasetKey %+% "&" %+% pager(Step,Page))

## End(Not run)


jhnwllr/gbifapi documentation built on April 30, 2022, 12:55 p.m.