Skip to contents

A programmatic interface to many species occurrence data sources, including GBIF, iNaturalist, Berkeley Ecoinformatics Engine, eBird, iDigBio, VertNet, OBIS, and ALA. Includes functionality for retrieving species occurrence data, and combining that data.

Package API

The main function to use is occ() - a single interface to many species occurrence databases (see below for a list).

Other functions include:

  • occ2df() - Combine results from occ into a data.frame

  • wkt_vis() - Visualize WKT strings (used to define geometry based searches for some data sources) in an interactive map


See spocc_duplicates() for more.

Clean data

All data cleaning functionality is in as archived package: scrubr ( On CRAN: See also package

Make maps

All mapping functionality is now in a separate package: mapr`` (<>) (formerly known as spoccutils`). On CRAN:


Scott Chamberlain