searchbyterm() and bigsearch() reworked:
both functions now have the first parameter as ..., which
accepts any valid query parameter. There were so many query parameters
for these functions it was a bit overwhelming. See
?searchbyterm docs for details (#66)searchbyterm() fix: booleans need to be converted to
VertNet’s expected 0/1 instead of true/false
(#66)searchbyterm (#64)Added Code of Conduct.
crul package for HTTP requests instead of
httr (#57)verbose parameter has been replaced with
messages throughout the package.traitsearch() (#55)dump functions are now defunct. Those functions
tried to help users work with bulk Vertnet data - the setup has gotten
too complex (#56)traitsearch()
function on what fields have given data (#58) thanks @gauravvertsearch() and searchbyterm() gain new
parameter only_dwc, which allows to optionally only return
Darwin Core fieldsvertsummary() (#59)searchbyterm() gains new parameter query
to allow full text search, much like vertsearch(), but with
the ability to also use all the parameters available in
searchbyterm() (#53)dplyr::bind_rows instead of the deprecated
dplyr::rbind_all (#51)methods/stats/utils), and
removed some package dependencies that we didn’t really need
(plyr) (#54)httr::content() (#47)externalptr error in the internal
vert_GET() function (#48)bigsearch() in which we had forgotten to
do internal conversion of logical input to 0/1 needed by the web API
(#46)dump_links() gives you links to various data dump
resources; dump_init() initialized a SQLite database
connection; dump_tbl() creates a dplyr::tbl
object, which can then be used in a dplyr query. This setup
requires that the user manually download data dumps uncompress, and load
into SQLite. We hope to make this process easier in the future.
(#36)vertmap() for new ggplot2 version
(#43)bigsearch() for how to read in
data after obtaining the data (#44)searchbyterm() function. When the parameter
stateprovince was used, lead to error, as that param
requires different handling than other params. (#45)vert_id() to get occurrence records by
occurenceid, that is, single occurrence ids. (#40)occurenceID to occurrenceid to
simplify life (#41)searchbyterm() and bigsearch() have some
parameters that accept multiple values. Fixed to allow this (#37)searchbyterm(),
spatialsearch(), and vertsearch() reworked to
use cursor so we internally do paging for you for bigger result sets.
(#25)data.table import with dplyrskip_on_cran() (#38)Package completely reworked for the new VertNet API.
vertavailablemaps(),
vertlocations(), vertoccurrence(),
vertoccurrencecount(), vertproviders(),
verttaxa() are now defunct. You can call these functions,
but they print an error message, saying they are defunct.bigsearch(),
searchbyterm(), spatialsearch(), and
vertsummary().RJSONIO replaced with jsonlite