browse_phylopic: Browse PhyloPic for a given taxonomic name or uuid

View source: R/browse_phylopic.R

browse_phylopicR Documentation

Browse PhyloPic for a given taxonomic name or uuid

Description

This function provides a convenient way to browse PhyloPic for a given taxonomic name of uuid.

Usage

browse_phylopic(name = NULL, uuid = NULL)

Arguments

name

character. A taxonomic name. Various taxonomic levels are supported (e.g. species, genus, family).

uuid

character. A PhyloPic image uuid, as acquired by get_uuid().

Details

This function returns a PhyloPic url for an input name or uuid and opens the user's default web browser at this url. If no name or uuid is supplied, the base url of PhyloPic images is returned and opened instead.

Value

A character vector of a valid PhyloPic url for the specified name or uuid. If no name or uuid is supplied, the base url of PhyloPic images is returned.

Examples

url <- browse_phylopic(name = "Acropora cervicornis")

rphylopic documentation built on Nov. 2, 2023, 6:13 p.m.