Learn R Programming

⚠️There's a newer version (1.2.3) of this package.Take me there.

spocc (version 0.2.0)

R interface to many species occurrence data sources

Description

A programmatic interface to many species occurrence data sources, including GBIF, USGS's BISON, iNaturalist, Berkeley Ecoinformatics Engine eBird, AntWeb, and more as they sources become easily available.

Copy Link

Version

Install

install.packages('spocc')

Monthly Downloads

3,649

Version

0.2.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Scott Chamberlain

Last Published

August 6th, 2014

Functions in spocc (0.2.0)

basemaps

Base maps to use with maprcharts function
get_palette

Get palette actual name from longer names
mapggplot

ggplot2 visualization of species occurences
spocc_gbifxmlToDataFrame

Code based on the `gbifxmlToDataFrame` function from dismo package (http://cran.r-project.org/web/packages/dismo/index.html), by Robert Hijmans, 2012-05-31, License: GPL v3
occ_to_sp

Create a spatial points dataframe from a spocc search.
get_colors

Get colors from a vector of input taxonomic names, and palette
spocc_rcharts_togeojson

Get palette actual name from longer names
print.occdat

Print brief summary of occ function output
occ_options

Look up options for parameters passed to each source
occ2sp

Occ output or data.frame to sp SpatialPointsDataFrame class
spocc_get_credentials

Get Github credentials from use in console
mapleaflet

Make an interactive map to view in the browser
palettes

Palettes to use with maprcharts function
wkt_vis

Visualize well-known text area's on a map.
spocc_colClasses

Coerces data.frame columns to the specified classes
spocc_blanktheme

Custom ggplot2 theme
occ2df

Combine results from occ calls to a single data.frame
spocc_commas_to_periods

Convert commas to periods in lat/long data
spocc_type_sum

Type summary
mapgist

Make an interactive map to view in the browser as a Github gist
plot.occdat

Plot occ function output on a map (uses base plots via the rworldmap package)
spocc_capwords

Capitalize the first letter of a character string.
spocc_parseresults

Parse results from call to occurrencelist endpoint
spocc_stylegeojson

Style a data.frame prior to converting to geojson.
spocc_togeojson

Convert spatial data files to GeoJSON from various formats.
clean_spocc

Clean spocc data
print.occdatind

Print method for individual data sources
occ

Search for species occurrence data across many data sources.
bbox2wkt

Convert a bounding box to a Well Known Text polygon, and a WKT to a bounding box
fixnames

Change names to be the same for each taxon.
handle_sp

sp etc. objects handler
spocc_gist

Post a file as a Github gist
spocc_create_gist

Function that takes a list of files and creates payload for API