R/pageQuery.R

# pageQuery
# work in progree pageQuery function

# query = "https://api.gbif.org/v1/occurrence/download/dataset/" %+% key %+% "?" %+% gbifapi::pager(x$Step,x$Page)
#
# f = function(...) {
#   x = list(...)
#   x$query =
#   print(query)
#   gbifapi::gbifapi(query)$results
# }
#
# CL = gbifapi::pageWhile(FUN=f,Step=Step,maxPages=maxPages,verbose=verbose)
jhnwllr/gbifapi documentation built on April 30, 2022, 12:55 p.m.