View photos from GBIF.

Description

View photos from GBIF.

Usage

1
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.

BEWARE

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.