Note that there is currently no web service that provides image information, and so we are scraping results from pages of the form https://images.biodiversitydata.se/image/details?imageId=id. This web scraping may be fragile, and will be replaced by a web-service-based function when one becomes available.

image_info(id, verbose = sbdi_config()$verbose)

Arguments

id

character: IDs of images (e.g. as returned by occurrences in the imageUrl column). Each ID will be of a format something like "84654e14-dc35-4486-9e7c-40eb2f8d3faa"

verbose

logical: show additional progress information? [default is set by sbdi_config()]

Value

A data.frame with one row per id, and at least the columns imageIdentifier and imageURL

See also

Examples

if (FALSE) { ## Using IDs returned from occurrences() function image(id = c("f31e5f0e-f964-4bc3-b8f3-78f2ad520563", "39091d30-3016-417f-8860-b7c2a8d37942")) }