details: Retrieve images and meta-data for a specific record...

Description Usage Arguments Author(s) Examples

Description

Retrieve images and meta-data for a specific record (specimen)

Usage

1
details(x, id)

Arguments

x

object of S4 class records (output of symbiota)

id,

as found in output of records

Author(s)

Franz-Sebastian Krah

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 
# use function records to download records; then use one of the IDs:
spec.dist <- symbiota(taxon = "Amanita muscaria", db = "mycoportal", wait = 4)
pic <- details(spec.dist, id = 2136920)
# Look at one of the images in more detail
print(image_read(pic$urls[1])) # a rather orangeish specimen
library(magick)
par(mfrow = c(1,3))
plot(image_read(pic$urls[1]))
plot(image_read(pic$urls[2]))
plot(image_read(pic$urls[3]))
# Look at meta data
pic$meta

## End(Not run)

rSymbiota documentation built on July 7, 2019, 5:02 p.m.