rgbif (version 0.9.2)

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)

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
(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')

Run the code above in your browser using DataCamp Workspace