Learn R Programming

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

spocc (version 0.1.2)

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

2,639

Version

0.1.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Scott Chamberlain

Last Published

May 2nd, 2014

Functions in spocc (0.1.2)

basemaps

Base maps to use with maprcharts function
bbox2wkt

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

Occ output or data.frame to sp SpatialPointsDataFrame class
occ_options

Look up options for parameters passed to each source
spocc_stylegeojson

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

Create a spatial points dataframe from a spocc search.
spocc_get_credentials

Get Github credentials from use in console
print.occdat

Print brief summary of occ function output
occ

Search for species occurrence data across many data sources.
mapleaflet

Make an interactive map to view in the browser
spocc_togeojson

Convert spatial data files to GeoJSON from various formats.
spocc_create_gist

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

Capitalize the first letter of a character string.
spocc_rcharts_togeojson

Get palette actual name from longer names
occ2df

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

Change names to be the same for each taxon.
palettes

Palettes to use with maprcharts function
get_palette

Get palette actual name from longer names
wkt_vis

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

Coerces data.frame columns to the specified classes
spocc_commas_to_periods

Convert commas to periods in lat/long data
spocc_gist

Post a file as a Github gist
mapgist

Make an interactive map to view in the browser as a Github gist
clean_spocc

Clean spocc data
mapggplot

ggplot2 visualization of species occurences
get_colors

Get colors from a vector of input taxonomic names, and palette
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_parseresults

Parse results from call to occurrencelist endpoint
spocc_blanktheme

Custom ggplot2 theme