add_taxonomy: Add or update taxonomic information to a 'fwspp' object

View source: R/add_taxonomy.R

add_taxonomyR Documentation

Add or update taxonomic information to a fwspp object

Description

Use this function to add or update basic taxonomic information to an fwspp object; see retrieve_taxonomy for a description of the information returned and its source.

Usage

add_taxonomy(fwspp, taxonomy = NULL)

Arguments

fwspp

an fwspp object returned by fws_occ

taxonomy

a data.frame returned by retrieve_taxonomy; this is meant primarily for internal fws_occ use

Value

a fwspp object with added (or updated) basic taxonomic information

Examples

## Not run: 
ml <- find_fws("longleaf")
ml <- fws_occ(fws = ml)
ml <- add_taxonomy(ml)

## End(Not run)

adamdsmith/fwspp documentation built on Oct. 16, 2023, 3:43 a.m.