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:
rgbif functions.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
install.packages("rgbif")
Or, install development version
install.packages("remotes") remotes::install_github("ropensci/rgbif") # OR install.packages("rgbif", repos="https://dev.ropensci.org")
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')
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 - 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 - Pakillo - peterdesmet - PhillRob - poldham - qgroom - raymondben - rossmounce - sacrevert - sagitaninta - sckott - scottsfarley93 - simon-tarr - SriramRamesh - stevenpbachman - stevensotelo - stevenysw - TomaszSuchan - tphilippi - vandit15 - vervis - vijaybarve - willgearty - Xuletajr - yvanlebras - zixuan75
rgbif in R doing citation(package = 'rgbif')
This package is part of spocc, along with several other packages, that provide access to occurrence records from multiple data sources.