Description Usage Arguments Value See Also Examples
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.nbnatlas.org/image/details?imageId=id. This web scraping may be fragile, and will be replaced by a web-service-based function when one becomes available.
1 | image_info(id, image_number, verbose = nbn_config()$verbose)
|
id |
character: IDs of images (e.g. as returned by |
image_number |
character or numeric: ID numbers of images (e.g. as returned by NBN's image search at https://images.nbnatlas.org/. Each image_number will be of a format something like 122218480 |
verbose |
logical: show additional progress information? [default is set by nbn_config()] |
A data.frame with one row per id
, and at least the columns imageIdentifier and imageURL
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
## Using IDs returned from occurrences() function
image_info(id = c("eeadbb65-5509-4e55-9b3d-bd9bfb99f76c",
"2f61274d-c397-4d24-ac9a-43fac921e43f"))
## Using image numbers found on images.nbnatlas.org
image_info(c(image_number=5881156))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.