Learn R Programming

rfishbase (version 0.2-2)

getPictures: getPictures from the fishbase database

Description

get urls of fishbase images given a genus and species

Usage

getPictures(scientific_name, type = c("adult", "juvenile", "larvae",
  "stamps"), what = c("actual", "thumbnail", "author"), download = FALSE,
  ...)

Arguments

scientific_name
the space-separated genus and species names
type
the kind of photo requested: adult, juvenile, larvae, or stamps.
what
character specifying what to return: actual image, thumbnail, or author name?
download
logical, download to working directory?
...
additional options to download.file

Value

  • list of image urls. If download=TRUE, will also dowload images to working directory.