Learn R Programming

rphylopic (version 1.0.0)

get_attribution: Get PhyloPic attribution data

Description

This function provides a convenient way to obtain attribution data for PhyloPic images via an image uuid returned by get_uuid().

Usage

get_attribution(uuid = NULL)

Value

A list of PhyloPic attribution data for an image uuid.

Arguments

uuid

character. A valid uuid for a PhyloPic silhouette such as that returned by get_uuid() or pick_phylopic().

Details

This function returns image uuid specific attribution data, including: contributor name, contributor uuid, contributor contact, image uuid and license.

Examples

Run this code
# Get valid uuid
uuid <- get_uuid(name = "Acropora cervicornis")
# Get attribution data for uuid
attri <- get_attribution(uuid = uuid)

Run the code above in your browser using DataLab