Skip to content

v0.2.0

Compare
Choose a tag to compare
@sckott sckott released this 06 Aug 17:35
· 643 commits to master since this release

spocc 0.2.0

NEW FEATURES

  • occ() gains new parameter callopts to pass on curl debugging options to httr::GET() (#35)
  • wkt_vis() now by default plots a well known text area (WKT) on an interactive mapbox map in your default browser. New parameter which 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, a data.frame was printed. Now the data is assigned the object occdatind (short for occdat individual).
  • occ() now uses a print method for the occdatind class, adopted from dplyr that prints a brief data.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 an occ() call remains the same. (#69) (#74)

MINOR IMPROVEMENTS

  • Added whisker as a package import to use in the wkt_vis() function. (#70)
  • Mapping functions now all accept the same input. Previously mapggplot() accepted the output of occ(), of class occdat, while the other two functions for mapping, mapleaflet() and mapgist() accepted a data.frame. Now all three functions accept the output of occ(), an object of class occdat. (#75)
  • The meta slot in each returned object (indexed by object$meta) contains spots for returned and found, 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)