Ocean Biogeographic Information System (OBIS) Client

Client for the Ocean Biogeographic Information System (< http://iobis.org>). Includes functions for each of the API methods, including searching for occurrences, creating a checklist, searching for datasets and for visualizing the results.


CRAN robis Travis-CI Build Status Coverage Status

R client for the OBIS API

Installation

# CRAN
install.packages("robis")
 
# latest development version
install.packages("devtools")
devtools::install_github("iobis/robis")

Occurrence

Get occurrences by scientific name:

data <- occurrence("Abra alba")

Get occurrences by AphiaID:

data <- occurrence(aphiaid = 141433)

Restrict fields in result set:

data <- occurrence("Abra alba", fields = c("decimalLongitude", "decimalLatitude"))

Filter occurrences by QC flags:

data <- occurrence("Abra nitida", qc = c(22, 23))

Get occurrences by geometry:

data <- occurrence("Abra alba", geometry = "POLYGON ((2.59689 51.16772, 2.62436 51.14059, 2.76066 51.19225, 2.73216 51.20946, 2.59689 51.16772))")

Plot occurrences on a Leaflet map:

leafletmap(data)

Checklist

Get a checklist for a specific group and year:

data <- checklist("Semelidae", year = 2005)

Get a checklist for a region:

data <- checklist(geometry = "POLYGON ((2.59689 51.16772, 2.62436 51.14059, 2.76066 51.19225, 2.73216 51.20946, 2.59689 51.16772))")

Dataset

Get dataset information by dataset ID:

datasets <- dataset(seq(2500, 2520))

News

robis 1.0.1

Minor bug fixes release.

robis 1.0.0

Initial release of the robis package on CRAN.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("robis")

1.0.1 by Samuel Bosch, 7 months ago


https://github.com/iobis/robis


Report a bug at https://github.com/iobis/robis/issues


Browse source code at https://github.com/cran/robis


Authors: Pieter Provoost [aut] , Samuel Bosch [cre, aut] , Ward Appeltans [ctb] , OBIS [cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports httr, dplyr, jsonlite, leaflet

Suggests testthat


See at CRAN