Package: spocc 1.2.3

Hannah Owens

spocc: Interface to Species Occurrence Data Sources

A programmatic interface to many species occurrence data sources, including Global Biodiversity Information Facility ('GBIF'), 'iNaturalist', 'eBird', Integrated Digitized 'Biocollections' ('iDigBio'), 'VertNet', Ocean 'Biogeographic' Information System ('OBIS'), and Atlas of Living Australia ('ALA'). Includes functionality for retrieving species occurrence data, and combining those data.

Authors:Hannah Owens [aut, cre], Vijay Barve [aut], Scott Chamberlain [aut], Karthik Ram [ctb], Ted Hart [ctb], rOpenSci [fnd]

spocc_1.2.3.tar.gz
spocc_1.2.3.zip(r-4.5)spocc_1.2.3.zip(r-4.4)spocc_1.2.3.zip(r-4.3)
spocc_1.2.3.tgz(r-4.4-any)spocc_1.2.3.tgz(r-4.3-any)
spocc_1.2.3.tar.gz(r-4.5-noble)spocc_1.2.3.tar.gz(r-4.4-noble)
spocc_1.2.3.tgz(r-4.4-emscripten)spocc_1.2.3.tgz(r-4.3-emscripten)
spocc.pdf |spocc.html
spocc/json (API)
NEWS

# Install 'spocc' in R:
install.packages('spocc', repos = c('https://ropensci.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ropensci/spocc/issues

Pkgdown site:https://docs.ropensci.org

On CRAN:spocc-1.2.3(2024-03-06)

specimensapiweb-servicesoccurrencesspeciestaxonomygbifinatvertnetebirdidigbioobisalaantwebbisondataecoengineinaturalistoccurrencespecies-occurrencespocc

9.89 score 118 stars 5 packages 552 scripts 2.9k downloads 4 mentions 19 exports 134 dependencies

Last updated 10 months agofrom:cb80a64abc (on master). Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 27 2024
R-4.5-winNOTEDec 27 2024
R-4.5-linuxNOTEDec 27 2024
R-4.4-winOKDec 27 2024
R-4.4-macOKDec 27 2024
R-4.3-winOKDec 27 2024
R-4.3-macOKDec 27 2024

Exports:as.alaas.ecoengineas.gbifas.idigbioas.inatas.obisas.vertnetbbox2wktfixnamesinspectobis_searchoccocc_namesocc_names_optionsocc_optionsocc2dfspocc_capwordswkt_viswkt2bbox

Dependencies:askpassassertthatbackportsbase64encbitbit64blobbroombslibcachemcallrcellrangerclicliprcolorspaceconflictedcowplotcpp11crayoncrosstalkcrulcurldata.tableDBIdbplyrdigestdplyrdtplyrevaluatefansifarverfastmapfontawesomeforcatsfsgarglegenericsggplot2gluegoogledrivegooglesheets4gtablehavenhighrhmshtmltoolshtmlwidgetshttpcodehttridsisobandjquerylibjsonlitekableExtraknitrlabelinglatticelazyevalleafletleaflet.providerslifecyclelubridatemagrittrmapsMASSMatrixmemoisemgcvmimemodelrmunsellnlmeoaiopensslpillarpkgconfigplyrpngprettyunitsprocessxprogresspspurrrR6raggrappdirsrasterRColorBrewerRcppreadrreadxlrebirdrematchrematch2reprexrgbifridigbiorlangrmarkdownrstudioapirvertnetrvests2sassscalesselectrspstringistringrsvglitesyssystemfontsterratextshapingtibbletidyrtidyselecttidyversetimechangetinytextriebeardtzdburltoolsutf8uuidvctrsviridisLitevroomwhiskerwithrwkxfunxml2yaml

Citation

To cite package ‘spocc’ in publications use:

Owens H, Barve V, Chamberlain S (2024). spocc: Interface to Species Occurrence Data Sources. R package version 1.2.3, , https://github.com/ropensci/spocc.

Corresponding BibTeX entry:

  @Manual{,
    title = {spocc: Interface to Species Occurrence Data Sources},
    author = {Hannah Owens and Vijay Barve and Scott Chamberlain},
    year = {2024},
    note = {R package version 1.2.3, },
    url = {https://github.com/ropensci/spocc},
  }

Readme and manuals

spocc (SPecies OCCurrence)

Docs: http://docs.ropensci.org/spocc/

At rOpenSci, we have been writing R packages to interact with many sources of species occurrence data, including GBIF, Vertnet, iNaturalist, and eBird. Other databases are out there as well, which we can pull in. spocc is an R package to query and collect species occurrence data from many sources. The goal is to to create a seamless search experience across data sources, as well as creating unified outputs across data sources.

spocc currently interfaces with seven major biodiversity repositories

  1. Global Biodiversity Information Facility (GBIF) (via rgbif) GBIF is a government funded open data repository with several partner organizations with the express goal of providing access to data on Earth's biodiversity. The data are made available by a network of member nodes, coordinating information from various participant organizations and government agencies.

  2. iNaturalist iNaturalist provides access to crowd sourced citizen science data on species observations.

  3. VertNet (via rvertnet) Similar to rgbif (see below), VertNet provides access to more than 80 million vertebrate records spanning a large number of institutions and museums primarly covering four major disciplines (mammology, herpetology, ornithology, and icthyology).

  4. eBird (via rebird) ebird is a database developed and maintained by the Cornell Lab of Ornithology and the National Audubon Society. It provides real-time access to checklist data, data on bird abundance and distribution, and communtiy reports from birders.

  5. iDigBio (via ridigbio) iDigBio facilitates the digitization of biological and paleobiological specimens and their associated data, and houses specimen data, as well as providing their specimen data via RESTful web services.

  6. OBIS OBIS (Ocean Biogeographic Information System) allows users to search marine species datasets from all of the world's oceans.

  7. Atlas of Living Australia ALA (Atlas of Living Australia) contains information on all the known species in Australia aggregated from a wide range of data providers: museums, herbaria, community groups, government departments, individuals and universities; it contains more than 50 million occurrence records.

The inspiration for this comes from users requesting a more seamless experience across data sources, and from our work on a similar package for taxonomy data (taxize).

BEWARE: In cases where you request data from multiple providers, especially when including GBIF, there could be duplicate records since many providers' data eventually ends up with GBIF. See ?spocc_duplicates, after installation, for more.

Learn more

spocc documentation: <docs.ropensci.org/spocc/>

Contributing

See CONTRIBUTING.md

Installation

Stable version from CRAN

install.packages("spocc", dependencies = TRUE)

Or the development version from GitHub

install.packages("remotes")
# remotes::install_github("ropensci/spocc")
install.packages("spocc", repos = c('https://ropensci.r-universe.dev', 'https://cloud.r-project.org'))
library("spocc")

Make maps

All mapping functionality is now in a separate package mapr (formerly known as spoccutils), to make spocc easier to maintain. mapr on CRAN.

Meta

Help Manual

Help pageTopics
Interface to many species occurrence data sourcesspocc-package
Coerce occurrence keys to ALA id objectsas.ala
Coerce occurrence keys to gbifkey/occkey objectsas.gbif
Coerce occurrence keys to idigbio objectsas.idigbio
Coerce occurrence keys to iNaturalist id objectsas.inat
Coerce occurrence keys to obis id objectsas.obis
Coerce occurrence keys to vertnetkey/occkey objectsas.vertnet
Convert a bounding box to a Well Known Text polygon, and a WKT to a bounding boxbbox2wkt wkt2bbox
Get more data on individual occurrencesinspect inspect.data.frame inspect.occdat inspect.occkey
Search for species occurrence data across many data sources.occ
Search for species names across many data sources.occ_names
Look up options for parameters passed to each source for occ_names functionocc_names_options
Look up options for parameters passed to each sourceocc_options
Combine results from occ calls to a single data.frameocc2df
A note about duplicate occurrence recordsspocc_duplicates
Visualize well-known text area's on a map.wkt_vis