View source: R/harmonize_names.R
harmonize_names | R Documentation |
This function harmonizes the scientific and common names for West Coast fish species.
harmonize_names(x, from, to)
x |
A character vector of species common names |
from |
Type of data being harmonized |
to |
Type of data to return |
A character vector of harmonized names
# Suggest spelling corrections for common names
harmonize_names(x=c("Pacific hake", "Northern halibut"), from="comm", to="comm")
harmonize_names(x=c("Dungeness crab", "Northern anchovy"), from="comm", to="sci")
harmonize_names(x=c("Metacarcinus magister", "Engraulis mordax"), from="sci", to="comm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.