Howdy,
Dipping back in here again because I noticed that the bisonopts parameter appear to be disabled or ignored in the spocc::occ and rbison::bison functions. Below are example scripts comparing species results between spocc and rbison. Hopefully I’m making an accurate comparison. Seems like it’s not just restricted to the countryCode param either, saw the same thing for stateProvince, year, and other params.
occ(query = “Populus tremuloides”, from = “bison”, limit=1, bisonopts = list(params=‘countryCode: US’)) 739240 records
occ(query = “Populus tremuloides”, from = “bison”, limit=1, bisonopts = list(params=‘countryCode: CA’))
739240 records
bison(species = “Populus tremuloides”, params = ‘countryCode: US’, count = 1)
738280 records
bison(species = “Populus tremuloides”, params = ‘countryCode: CA’, count = 1)
738280 records
SessionInfo:
R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] rbison_0.7.0 spocc_0.8.0 - but saw the same results after installing the latest builds from Github