ropensci / spocc

Species occurrence data toolkit for R
https://docs.ropensci.org/spocc
Other
116 stars 27 forks source link

Global offset parameter in `occ()` #140

Closed sckott closed 9 years ago

sckott commented 9 years ago

See if possible

sckott commented 9 years ago

paging parameters by data provider:

The global offset param could be: start

With non-page type APIs, use as normal, easy.

With page type APIs, potentially round up or down to the nearest 10

E.g. 1

E.g. 2

meh, can't do this I don't think, as offset for paging type APIs has to be same size as the per_page param

Instead, two parameters for start, one for each type: start, page