R client for the OBIS API
R
Switch branches/tags
Nothing to show
Latest commit df9d532 Mar 15, 2017 @pieterprovoost pieterprovoost support for areaid
Permalink
Failed to load latest commit information.
R support for areaid Mar 15, 2017
man support for areaid Mar 15, 2017
tests support multiple years, fixed qc test Feb 13, 2017
.Rbuildignore travis Dec 13, 2015
.gitignore first commit Dec 6, 2015
.travis.yml coveralls Dec 13, 2015
DESCRIPTION support for areaid Mar 15, 2017
LICENSE.md Create LICENSE.md Oct 18, 2016
NAMESPACE support for areaid Mar 15, 2017
README.md Update README.md Jan 4, 2017
robis.Rproj changed name to robis Dec 15, 2015

README.md

robis

Travis-CI Build Status Coverage Status

R client for the OBIS API

Installation

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))")