bison_solr()
docs on the start
parameter for offsetting pagination results (#65)bison_stats()
fixes: returned data structure had slightly changed, fixes for that; and add unit tests (#67)bison()
pagination: previous max as far as we knew was 500 per a single request, but apparently is now 1000. In addition, we no loop internally over the count
parameter so that requests larger than 1000 are handled with a while
loop until we get all the data requested (#58)bison()
the what
parameter is defunct/removed. It let the user pick what part of the results they wanted, but it is super simple to do this once the data is returned. (#59)vcr
(#61)points
slot of the bison()
function. previously we were filtering the records to only those with lat and lon values. now we return all. this means some records may not have lat/lon data, and may have other missing data. along with this, now importing data.table
(#60)bisonmap()
that was causing a problem when a state was given in the bison()
call that was passed to bisonmap(tomap = "county")
; maps were not right, fixed now (#57) thanks @bomeararbison::bison_solr
now supports range queries for certain parameters. It doesn't make sense to do a range query for a character string parameter (e.g., range between Asteraceae and Juncaceae), but you can do them for any parameters that are numeric/integer/date. See examples in ?bison_solr
. (this was added originally to facilitate date based searching in spocc
) (#53)bison_solr()
, e.g., ITISscientificName
, higherGeographyID
, and countryCode
. See ?bison_solr
for details. (#54)count
parameter in bison()
: default is now 25, and max is 500. Also, default for start
set to 0, so we pass that by default now. We check to make sure count
is not greater than 500 since the BISON API does not fail gracefully if it is greater than 500.crul
http client instead of httr
(#47)tools/
dir as requested by CRAN (#48)dplyr::rbind_all()
with dplyr::bind_rows()
(#39)ggplot2
version in mapping function
rbison::bisonmap()
(#38)stats
and methods
packages (#36).Rbuildignore
the vignettes/figure
directory (#37)@importFrom
across all package imports.query
parameter in bison_tax()
is now required.\donttest
.assertthat
.bisonmap()
function.bison_stats()
to query the statistics about BISON downloads.citation_datause()
to get information on data use rules, and citation for using BISON data.rbison
. The main vignette covers bison()
only.stringsAsFactors=FALSE
.callopts
parameters to ...
, so you can pass in named options to httr::GET
calls instead of through callopts
, except in functions that interact with a SOLR engine, in which case ...
is reserved for passing on additional SOLR parameters, and then callopts
is still used.data.table
, importing dplyr
now, and assertthat
jsonlite
from rjson
for JSON parsing.bison()
loses parameter itis
, as it only has one possible value; gains parameter params
that accepts further parameters to modify the search; changed parameter callopts
to ...
.params
parameter in the bison()
function.callopts
to ...
in bison_providers()
.callopts
to ...
in bison_tax()
.bison_solr()
: BISONProviderID
changed to providerID
; BISONResourceID
changed to resourceID
; occurrence_date
changed to eventDate
; collector
changed to recordedBy
; gains parameters catalogNumber
, ITIScommonName
, kingdom
, and verbose
. Adde a bunch of examples.blanktheme()
function to bison_blanktheme()
to avoid namespace conflicts with the rgbif package.bison()
function gains "what" parameter, to allow selection of the type of data to get back. All data is returned from the API (As there is no way to select subsets of data), but the what parameter lets you discard the things you don't want, saving on memory.bison()
function gains "callopts" parameter to pass on curl options to httr::GET
bison()
function gains "itis" parameter. Setting to TRUE allows searches on ITIS taxonomic serial numbers (TSNs)bison()
function gains "tsn" parameter. Specify abison_providers()
to get metadata on data providers to BISON.bison_data()
function removed. This function was used to get data back from a call to bison()
or bison_solr()
. Now those two functions simply give the data back immediately.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.