get_apc_genus_family_lookup: Lookup Family by Genus from APC

View source: R/state_diversity_counts.R

get_apc_genus_family_lookupR Documentation

Lookup Family by Genus from APC

Description

Retrieve the family name for a given genus using taxonomic data from the Australian Plant Census (APC).

Usage

get_apc_genus_family_lookup(genus, resources = load_taxonomic_resources())

Arguments

genus

A character vector of genus names for which to retrieve the corresponding family names.

resources

The taxonomic resources required to make the lookup. Loading this can be slow, so call load_taxonomic_resources separately to speed up this function and pass the resources in.

Value

A data frame with two columns: "genus", indicating the genus name, and "family", indicating the corresponding family name from the APC.

See Also

load_taxonomic_resources

Examples

 get_apc_genus_family_lookup(genus = c("Acacia", "Eucalyptus"))

APCalign documentation built on Sept. 12, 2024, 6:58 a.m.