getBirdNames | R Documentation |
Translates between Latin name, common name and AOU code based on data from the Species
slot.
getBirdNames(object, names = NA, in.style = "AOU", out.style = "common")
object |
A |
names |
A character vector containing the names to be translated. |
in.style |
A length 1 character vector. Either "AOU", "Latin" or "common". Indicates the type of name found in the "names" agrument. |
out.style |
A length 1 character vector. Either "AOU", "Latin", "common". Indicates the type of names to be returned. Defaults to "common" # @param output Either "dataframe" (the default) or "list". Note that this must be in quotes. Determines the type of output from the function. |
This function converts a vector of names between the American Ornitholgoical Union Code (AOU Code), Latin name and scientific name. This is used by various other functions to provide the correct type of name in the output. The data to make these conversion is stored in the Species
solot of a NCRNbirds
object.
Currently the list
method simply uses the data from the Species
slot of the first object in the list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.