- add explanation to
bison_solr()
docs on thestart
parameter for offsetting pagination results (#65) - vignette/readme figures location change within package (#66)
bison_stats()
fixes: returned data structure had slightly changed, fixes for that; and add unit tests (#67)
- update readme and vignette regarding relationship between GBIF and BISON (#63)
- fix a test fixture that had non-ascii characters (#64)
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 thecount
parameter so that requests larger than 1000 are handled with awhile
loop until we get all the data requested (#58)- to simplify
bison()
thewhat
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)
- clean up description of USGS BISON in README (#56) thanks @esellers-usgs
- tests now caching HTTP requests via
vcr
(#61) - changed internal processing of the occurrence records output in the
points
slot of thebison()
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 importingdata.table
(#60)
- fixed bug in
bisonmap()
that was causing a problem when a state was given in thebison()
call that was passed tobisonmap(tomap = "county")
; maps were not right, fixed now (#57) thanks @bomeara
rbison::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 inspocc
) (#53)
- Added some missing parameters to
bison_solr()
, e.g.,ITISscientificName
,higherGeographyID
, andcountryCode
. See?bison_solr
for details. (#54) - Updated docs for
count
parameter inbison()
: default is now 25, and max is 500. Also, default forstart
set to 0, so we pass that by default now. We check to make surecount
is not greater than 500 since the BISON API does not fail gracefully if it is greater than 500.
- now using
crul
http client instead ofhttr
(#47)
- put readme images in
tools/
dir as requested by CRAN (#48) - tidy docs and code to 80 line width (#49)
- use markdown docs (#50)
- Replace
dplyr::rbind_all()
withdplyr::bind_rows()
(#39) - Base URLs changd for the BISON API (#34) (#43)
- Fixed a URL in the docs (#44) thanks @esellers-usgs
- Fixes for a new
ggplot2
version in mapping functionrbison::bisonmap()
(#38)
- Now explicitly importing all non-base R package functions that ship with R, in this case from
stats
andmethods
packages (#36) .Rbuildignore
thevignettes/figure
directory (#37)- Using
@importFrom
across all package imports. - The
query
parameter inbison_tax()
is now required. - Startup message is gone.
- Changed to new base URLs for BISON APIs.
- Fixes for
\donttest
. - Removed dependency on
assertthat
. - Sentence Case the Title in the DESCRIPTION file!!!!!!
- Fixed a test for the
bisonmap()
function.
- New function
bison_stats()
to query the statistics about BISON downloads. - New function
citation_datause()
to get information on data use rules, and citation for using BISON data. - New vignette other_functions that goes over the other functions in
rbison
. The main vignette coversbison()
only.
- Changed output of all data to have
stringsAsFactors=FALSE
.
- Changed all
callopts
parameters to...
, so you can pass in named options tohttr::GET
calls instead of throughcallopts
, except in functions that interact with a SOLR engine, in which case...
is reserved for passing on additional SOLR parameters, and thencallopts
is still used. - No longer importing
data.table
, importingdplyr
now, andassertthat
- Changed to MIT license.
- Changed to
jsonlite
fromrjson
for JSON parsing. bison()
loses parameteritis
, as it only has one possible value; gains parameterparams
that accepts further parameters to modify the search; changed parametercallopts
to...
.- Add many examples of using the
params
parameter in thebison()
function. - Changed parameter
callopts
to...
inbison_providers()
. - Changed parameter
callopts
to...
inbison_tax()
. - In
bison_solr()
:BISONProviderID
changed toproviderID
;BISONResourceID
changed toresourceID
;occurrence_date
changed toeventDate
;collector
changed torecordedBy
; gains parameterscatalogNumber
,ITIScommonName
,kingdom
, andverbose
. Adde a bunch of examples. - Startup message contains reference to citation function.
- Changed
blanktheme()
function tobison_blanktheme()
to avoid namespace conflicts with the rgbif package.
- Added a vignette.
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 tohttr::GET
bison()
function gains "itis" parameter. Setting to TRUE allows searches on ITIS taxonomic serial numbers (TSNs)bison()
function gains "tsn" parameter. Specify a- New function
bison_providers()
to get metadata on data providers to BISON.
bison_data()
function removed. This function was used to get data back from a call tobison()
orbison_solr()
. Now those two functions simply give the data back immediately.- A startup message added.
- Pushed first version to CRAN.