v0.2.0
spocc 0.2.0
NEW FEATURES
occ()
gains new parametercallopts
to pass on curl debugging options tohttr::GET()
(#35)wkt_vis()
now by default plots a well known text area (WKT) on an interactive mapbox map in your default browser. New parameterwhich
allows you to choose the interactive map or a static ggplot2 map. (#70)- Individual data sources
occ()
gains new class. In the previous version of this package, adata.frame
was printed. Now the data is assigned the objectoccdatind
(short for occdat individual). occ()
now uses a print method for theoccdatind
class, adopted fromdplyr
that prints a briefdata.frame
, with columns wrapped to fit the width of your console, and additional columns not printed given at bottom with their class type. Note that the print behavior for the resulting object of anocc()
call remains the same. (#69) (#74)
MINOR IMPROVEMENTS
- Added
whisker
as a package import to use in thewkt_vis()
function. (#70) - Mapping functions now all accept the same input. Previously
mapggplot()
accepted the output ofocc()
, of classoccdat
, while the other two functions for mapping,mapleaflet()
andmapgist()
accepted adata.frame
. Now all three functions accept the output ofocc()
, an object of classoccdat
. (#75) - The
meta
slot in each returned object (indexed byobject$meta
) contains spots forreturned
andfound
, to designate number of records returned, and number of records found. (#64)
BUG FIXES
- Fixed bug in AntWeb output, where there was supposed to be a column titled
name
. (#71)