Skip to content
/ rgbif Public
forked from ropensci/rgbif

Wrapper to the Global Biodiversity Information Facility API

Notifications You must be signed in to change notification settings

dmcglinn/rgbif

 
 

Repository files navigation

rgbif

About

This set of functions/package will access data from GBIF using their API methods.

See documentation the GBIF API here:
http://data.gbif.org/tutorial/services

Install

Install the version from CRAN:

install.packages("rgbif")
require(rgbif)

Install the development version using install_github within Hadley's devtools package.

install.packages("devtools")
require(devtools)

install_github("rgbif", "ropensci")
require(rgbif)

Note:

Windows users have to first install Rtools.

Packages rgbif depends on

  • XML
  • RCurl (>= 1.6)
  • plyr
  • ggplot2
  • maps
  • roxygen2 (as a suggest)

Visualize occurrence data

A single species

out <- occurrencelist(scientificname = 'Puma concolor', coordinatestatus = TRUE, maxresults = 100)
gbifmap_list(input = out) # make a map using vertmap

Many species, colored by species on map

splist <- c('Accipiter erythronemius', 'Junco hyemalis', 'Aix sponsa')
out <- occurrencelist_many(splist, coordinatestatus = TRUE, maxresults = 20)
gbifmap_list(out)

About

Wrapper to the Global Biodiversity Information Facility API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%