extract_attribute: Extract and optionally format a specific attribute

View source: R/accessory_functions.R

extract_attributeR Documentation

Extract and optionally format a specific attribute

Description

[Experimental]

Usage

extract_attribute(reptile_data, attribute_name, format_function = NULL)

Arguments

reptile_data

A data frame obtained using the get_reptile_species_data() function.

attribute_name

Name of the attribute to extract (e.g., "Distribution", "Synonym").

format_function

Optional formatting function for custom processing.

Details

Extracts and optionally formats structured information for a given attribute.

Value

A tibble with formatted information for the specified attribute.


reptiledbr documentation built on Aug. 8, 2025, 7:15 p.m.