Releases: ropensci/spocc
Releases · ropensci/spocc
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)
v0.1.2
spocc 0.1.2
NEW FEATURES
- There were quite a few changes in one of the key packages that
spocc
depends on:rgbif
. A number of input and output parameter names changed. A new version ofrgbif
was pushed to CRAN. (#56) - New function
clean_spocc()
started (not finished yet) to attempt to clean data. For example, one use case is removing impossible lat/long values (i.e., longitue values greater than absolute 180). Another, not implemented yet, is to remove points that are not in the country or habitat your points are supposed to be in. (#44) - New function
fixnames()
to trim species names with optional input parameters to make data easier to use for mapping. - New function
wkt_vis()
to visualize a WKT (well-known text) area on a map. Usesggmap
to pull down a Google map so that the visualization has some geographic and natural earth context. We'll soon introduce an interactive version of this function that will bring up a small Shiny app to draw a WKT area, then return those coordinates to your R session. (#34)
IMPROVEMENTS
- Added a CONTRIBUTING.md file to the github repo to help guide contributions (#61)
- Packages that require a certain version are forced to be X version or greater. Thes are rinat (>= 0.1.1), rbison (>= 0.3.2), rgbif (>= 0.6.2), ecoengine (>= 1.3), rebird (>= 0.1.1), AntWeb (>= 0.6.1), and leafletR (>= 0.2-0). This should help avoid problems.
- General improvement to function documentation.
Binaries
- spocc_0.1.2.tar.gz (source, Linux)
- spocc_0.1.2.tgz (OSX)
- spocc_0.1.2.zip (Windows)