View source: R/convert_names.R
convert_names | R Documentation |
This function converts fish common names to a common format: regular ("Dungeness crab") or reverse ("Crab, Dungeness").
convert_names(names, to)
names |
Common names |
to |
Format to convert to: regular ("Dungeness crab") or reverse ("Crab, Dungeness") |
Converted common names
# Convert common name
convert_names(names=c("California spiny lobster", "Halibut, Pacific", "Hake", "Warty sea cucumber"), to="reverse")
convert_names(names=c("Lobster, California spiny", "Pacific halibut", "Hake", "Crab, rock", "Sea cucumber, warty"), to="regular")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.