View source: R/labelSubspecies.R
labelSubspecies | R Documentation |
This function converts a labeled list of subspecies occurences into a dataframe of occurences, with a column for subspecies, using occ2dfSubspeciesLabels(). The latter function works only on a single subspecies whereas this function performs the task for all subspecies in the list.
labelSubspecies(subsppOccList, spp, subsppList)
subsppOccList |
A list of subspecies occurences from subspeciesOccQuery() or similar |
listFromSubspeciesOcc = subspeciesOccQuery(spp="Cardinalis sinuatus",
subsppList=c("sinuatus","peninsulae","fulvescens"),pointLimit=100,
dbToQuery="gbif")
labeledLoc = labelSubspecies(subsppOccList=listFromSubspeciesOcc)
subsppNames = unique(labeledLoc$subspecies)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.