Learn R Programming

rgbif (version 0.9.6)

gbif_photos: View photos from GBIF.

Description

View photos from GBIF.

Usage

gbif_photos(input, output = NULL, which = "table", browse = TRUE)

Arguments

input
Input output from occ_search
output
Output folder path. If not given uses temporary folder.
which
One of map or table (default).
browse
(logical) Browse output (default: TRUE)

BEWARE

The maps in the table view may not show up correctly if you are using RStudio

Details

The max number of photos you can see when which="map" is ~160, so cycle through if you have more than that.

Examples

Run this code
## Not run: 
# res <- occ_search(mediaType = 'StillImage', return = "media")
# gbif_photos(res)
# gbif_photos(res, which='map')
# 
# res <- occ_search(scientificName = "Aves", mediaType = 'StillImage', return = "media", limit=150)
# gbif_photos(res)
# gbif_photos(res, output = '~/barfoo')
# ## End(Not run)

Run the code above in your browser using DataLab