rgbif

Project Status: Active – The project has reached a stable, usable state and is being actively developed. cran checks R-CMD-check codecov.io rstudio mirror downloads cran version DOI

rgbif gives you access to data from GBIF via their REST API. GBIF versions their API - we are currently using v1 of their API. You can no longer use their old API in this package - see ?rgbif-defunct.

Please cite rgbif. Run the following to get the appropriate citation for the version you’re using:

citation(package = "rgbif")

To get started, see:

Check out the rgbif paper for more information on this package and the sister Python and Ruby clients.

Note: Maximum number of records you can get with occ_search() and occ_data() is 100,000. See https://www.gbif.org/developer/occurrence

Installation

install.packages("rgbif")

Or, install development version

install.packages("remotes")
remotes::install_github("ropensci/rgbif")
library("rgbif")

Note: Windows users have to first install Rtools (https://cran.r-project.org/bin/windows/Rtools/) to use devtools

Mac Users: (in case of errors)

Terminal:

Install gdal : https://github.com/edzer/sfr/blob/master/README.md#macos

brew install openssl

in R:

install.packages('openssl')
install.packages('rgeos')
install.packages('rgbif')

Screencast

Meta


This package is part of spocc, along with several other packages, that provide access to occurrence records from multiple data sources.


rofooter