Thanks for your question @winterc16
I ran into some trouble the other day when I attempted to use the bison_solr() function to page through BISON results and ended up sending repeated nonsense to the interface (my fault I should have been more careful) resulting in degraded performance of their Solr interface.
Can you give more details. What do you mean by nonsense, and how did you know there was degraded performance.
The occ_data() and occ_search() functions in the rgbif package handle requests internally and has the added feature of a hard maximum of 200,000, which prevents new users like me from doing foolish things. Is this something that will be implemented in the rbison package?
rgbif is a pkg for GBIF and rbison for USGS"s BISON service. The infrastructure is different between GBIF and BISON. So we can’t necessarily do the same stuff with the two data sources. Yes, you’re right that
occ_search do internal paging - that is, GBIF has a max of 300 records per request, which is quite small, so we essentially do a for loop to get all the records you want up to 200K. After that, use the download API through functions that start with