Learn R Programming

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

spocc (version 0.1.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.1.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Scott Chamberlain

Last Published

March 5th, 2014

Functions in spocc (0.1.0)

occ2sp

Occ output or data.frame to sp SpatialPointsDataFrame class
palettes

Palettes to use with maprcharts function
occ

Search for species occurrence data across many data sources.
spocc_blanktheme

Custom ggplot2 theme
spocc_gist

Post a file as a Github gist
spocc_parseresults

Parse results from call to occurrencelist endpoint
spocc_stylegeojson

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

Convert commas to periods in lat/long data
spocc_create_gist

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

Coerces data.frame columns to the specified classes
occ_options

Look up options for parameters passed to each source
get_palette

Get palette actual name from longer names
get_colors

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

Change names to be the same for each taxon.
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
spocc_get_credentials

Get Github credentials from use in console
bbox2wkt

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

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

Make an interactive map to view in the browser
spocc_capwords

Capitalize the first letter of a character string.
occ_to_sp

Create a spatial points dataframe from a spocc search.
spocc_togeojson

Convert spatial data files to GeoJSON from various formats.
spocc_rcharts_togeojson

Get palette actual name from longer names
basemaps

Base maps to use with maprcharts function
mapgist

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

Print brief summary of occ function output