A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

rgbif

Interface to the Global Biodiversity Information Facility API.
https://github.com/ropensci/rgbif

Category: Biosphere
Sub Category: Biodiversity Data Access and Management

Keywords

api biodiversity data gbif lifewatch oscibio r r-package rstats species spocc

Keywords from Contributors

taxonomy ecology cycle routes occurrences biology climate weather nomenclature genome

Last synced: about 14 hours ago
JSON representation

Repository metadata

Interface to the Global Biodiversity Information Facility API

README.md

rgbif

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

rgbif is an R package which gives you access to GBIF mediated data via its REST API.

GBIF (the Global Biodiversity Information Facility) is an international network and data infrastructure funded by the world's governments and aimed at providing anyone, anywhere, open access to data about all types of life on Earth.

Installation

install.packages("rgbif") # CRAN version
pak::pkg_install("ropensci/rgbif") # dev version
install.packages("rgbif", repos="https://dev.ropensci.org") # dev version

Getting Started

There are several long-form articles that can help get you started:

Most GBIF users are interested in getting lat-lon occurrence records.

occ_search(scientificName = "Pan troglodytes")
occ_data(scientificName = "Pan troglodytes")

It is usually better to get occurrence records using a taxonKey. See the article Working With Taxonomic Names.

taxonKey <- name_backbone("Pan troglodytes")$usageKey
occ_search(taxonKey = taxonKey)

GBIF strongly recommends the use of occ_download() rather than occ_search() for serious research projects. See article Getting Occurrence Data From GBIF.

It is required to set up your GBIF credentials to make downloads from GBIF.

occ_download(pred("taxonKey", 5219534)) # 5219534 is the taxonKey for Pan troglodytes

Citation

Under the terms of the GBIF data user agreement, users who download data agree to cite a DOI. Please see GBIF’s citation guidelines and Citing GBIF Mediated Data.

Please also cite rgbif by running citation(package = "rgbif").

Contributors

This list honors all contributors in alphabetical order. Code contributors are in bold.

adamdsmith - AgustinCamacho - AldoCompagnoni - AlexPeap - andzandz11 - AshleyWoods - AugustT - barthoekstra - benmarwick - cathynewman - cboettig - coyotree - damianooldoni - dandaman - djokester - dlebauer - dmcglinn - dmi3kno - dnoesgaard - DupontCai - ecology-data-science - EDiLD - elgabbas - emhart - fxi - ghost - gkburada - hadley - Huasheng12306 - ibartomeus - JanLauGe - jarioksa - jeroen - jhnwllr - jhpoelen - jivelasquezt - jkmccarthy - johnbaums - jtgiermakowski - jwhalennds - karthik - kgturner - Kim1801 - ljuliusson - ljvillanueva - luisDVA - martinpfannkuchen - MattBlissett - MattOates - maxhenschell - mdsumner - no-la-ngo - Octoberweather - omahs - Pakillo - peterdesmet - PhillRob - PietrH - poldham - qgroom - raymondben - rossmounce - sacrevert - sagitaninta - sckott - scottsfarley93 - simon-tarr - SriramRamesh - stevenpbachman - stevensotelo - stevenysw - TomaszSuchan - tphilippi - vandit15 - vervis - vijaybarve - willgearty - Xuletajr - yvanlebras - zixuan75

Meta

  • Please report any issues or bugs.
  • License: MIT
  • Get citation information for rgbif in R doing citation(package = 'rgbif')
  • Please note that this package is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

There are similar GBIF clients in other languages :

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


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 4 days ago

Total Commits: 1,924
Total Committers: 23
Avg Commits per committer: 83.652
Development Distribution Score (DDS): 0.363

Commits in past year: 31
Committers in past year: 5
Avg Commits per committer in past year: 6.2
Development Distribution Score (DDS) in past year: 0.323

Name Email Commits
Scott Chamberlain m****s@g****m 1226
John Waller f****2@k****k 234
John Waller f****2@s****n 153
damianooldoni d****i@i****e 138
Laurens Geffert l****t@g****m 32
Peter Desmet p****k@g****m 30
John Waller j****r@g****m 25
VijayBarve v****e@r****m 20
Karthik Ram k****m@g****m 12
Matthew Blissett m****t@b****k 12
Pieter Huybrechts 4****H 10
Jeroen Ooms j****s@g****m 5
Daniel McGlinn d****n@g****m 4
Dmytro Perepolkin d****n@g****m 4
omahs 7****s 4
Sriram Ramesh s****h@S****l 4
steven2249 s****w@b****u 3
Jari Oksanen j****n@o****i 2
John 8****s 2
Ben Marwick b****k@h****m 1
Maëlle Salmon m****n@y****e 1
Michael Sumner m****r@g****m 1
SriramRamesh g****1@g****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 635
Total pull requests: 152
Average time to close issues: 2 months
Average time to close pull requests: 3 days
Total issue authors: 158
Total pull request authors: 21
Average comments per issue: 2.34
Average comments per pull request: 1.11
Merged pull request: 140
Bot issues: 0
Bot pull requests: 0

Past year issues: 34
Past year pull requests: 18
Past year average time to close issues: 22 days
Past year average time to close pull requests: 2 days
Past year issue authors: 16
Past year pull request authors: 2
Past year average comments per issue: 1.35
Past year average comments per pull request: 0.0
Past year merged pull request: 15
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/ropensci/rgbif

Top Issue Authors

  • sckott (286)
  • jhnwllr (121)
  • damianooldoni (19)
  • andzandz11 (8)
  • dnoesgaard (6)
  • peterdesmet (6)
  • dmcglinn (4)
  • AugustT (4)
  • maelle (4)
  • willgearty (4)
  • mikeroswell (3)
  • MaxCarabus (3)
  • johnbaums (3)
  • vijaybarve (3)
  • MattBlissett (3)

Top Pull Request Authors

  • jhnwllr (103)
  • sckott (11)
  • damianooldoni (8)
  • peterdesmet (6)
  • stevenysw (4)
  • johnbaums (2)
  • dmcglinn (2)
  • jarioksa (2)
  • JanLauGe (2)
  • omahs (1)
  • ibartomeus (1)
  • PietrH (1)
  • jeroen (1)
  • zixuan75 (1)
  • AugustT (1)

Top Issue Labels

  • Bug (117)
  • downloads (44)
  • newapi (19)
  • documentation (14)
  • question (14)
  • oldapi (11)
  • idea (11)
  • feature (9)
  • maps-api (9)
  • fromemail (8)
  • queue (7)
  • docs (6)
  • noturgent (6)
  • someday (4)
  • windows (4)
  • occ-issues (2)
  • actions (1)
  • duplicate (1)
  • on-hold (1)

Top Pull Request Labels

  • maps-api (3)
  • downloads (2)
  • queue (2)

Package metadata

conda-forge.org: r-rgbif

  • Homepage: https://github.com/ropensci/rgbif, https://ropensci.github.io/rgbif, https://ropensci.github.io/occurrence-manual
  • Licenses: MIT
  • Latest release: 3.7.3 (published over 2 years ago)
  • Last Synced: 2025-04-25T12:11:00.877Z (1 day ago)
  • Versions: 18
  • Dependent Packages: 2
  • Dependent Repositories: 1
  • Rankings:
    • Dependent packages count: 19.581%
    • Dependent repos count: 24.103%
    • Average: 24.868%
    • Forks count: 25.416%
    • Stargazers count: 30.372%

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/upload-artifact v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
.github/workflows/check-cron.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/upload-artifact v2 composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v2 composite
.github/workflows/revdep-check.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/upload-artifact v2 composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v2 composite
DESCRIPTION cran
  • R6 * imports
  • conditionz * imports
  • crul >= 0.7.4 imports
  • data.table * imports
  • ggplot2 * imports
  • jsonlite >= 1.6 imports
  • lazyeval * imports
  • magrittr * imports
  • oai >= 0.2.2 imports
  • stats * imports
  • tibble * imports
  • whisker * imports
  • wk * imports
  • xml2 * imports
  • knitr * suggests
  • png * suggests
  • protolite >= 2.0 suggests
  • randgeo * suggests
  • raster * suggests
  • rmarkdown * suggests
  • sf * suggests
  • testthat * suggests
  • vcr >= 1.2.0 suggests
.github/workflows/rhub.yaml actions
  • r-hub/actions/checkout v1 composite
  • r-hub/actions/platform-info v1 composite
  • r-hub/actions/run-check v1 composite
  • r-hub/actions/setup v1 composite
  • r-hub/actions/setup-deps v1 composite
  • r-hub/actions/setup-r v1 composite

Score: 9.527411329321751