Skip to content

sformel/robis

 
 

Repository files navigation

robis: an R client for the OBIS API

DOI

robis is an R package that allows accessing data from the Ocean Biodiversity Information System (OBIS) directly from R. OBIS is a global open-access data and information clearing-house on marine biodiversity for science, conservation and sustainable development.

With robis users can:

  • Download data from OBIS
  • Create a checklist of taxa that met a set of filters
  • Download measurements and facts associated with occurrences
  • Create maps from occurrences (including leaflet maps)

Installation

robis is available from CRAN.

# CRAN
install.packages("robis")

# latest development version
remotes::install_github("iobis/robis")

Getting started

The main functions of the robis package are occurrences and checklist. You can easily download data for one species using:

records <- occurrence(scientificname = "Abra sibogai")

Then you can plot the occurrences with:

map_leaflet(records)

Or you can create a ggplot map using:

map_ggplot(records)

With the function checklist it's possible to obtain a checklist of all taxa in OBIS that met a certain filter. For example, here we obtain all species from the family "Tellinidae"

taxa <- checklist(scientificname = "Tellinidae")

See the Getting started vignette for more details on how to download data according to filters and how to extract measurements or facts from occurrence data using the function measurements.

How to use OBIS data

OBIS holds a large collection of biodiversity information, with more than 100 million presence records and almost 200 measurements and facts. This information is powering research in areas like taxonomy, phylogeny and ecology, and is being used as an important tool in conservation and management. You can learn more about OBIS with the OBIS manual. You can also explore some of our use cases or the many publications that applied OBIS data.

obistools package

There is a companion package, obistools, available from GitHub: github.com/iobis/obistools

obistools provide several tools for cleaning data downloaded from OBIS, like:

  • Checking points on land
  • Checking depths
  • Checking dates

About

R client for the OBIS API

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • R 100.0%